This guide will walk you through how to install Gasby Server, manage user accounts and for users to use Gasby Chat User Interface.
1. Prerequisite
- A server/VPS (recommend Linux/Ubuntu)
- A domain name (optional, ie yoursite.com)
- An email account with STMP access (for sending login link)
- Nodejs (recommend v16+), NPM or YARN installed
2. For Admins
2.1. Setup
- Download and unzip the file
- Duplicate
env.example
, then rename it to .env
- Update your details in the .env file
- Install dependencies (yarn or npm install)
2.2. Install
- Initiate database:
npx prisma migrate dev --name init
- Start the server:
yarn start or npm run start
- Go to yoursite.com/admin/setup to set up your application
2.3. Login
- Go to yoursite.com/admin/login
- Enter your email, and click "Submit". An email will be sent with the Login Link
- Open your email, and click on this Login Link to log in.
2.4. Logout
Go to yoursite.com/logout
2.5. Create user
- Go to yoursite.com/admin/users, select "New user"
- Enter user details
- Click
Create
to add a user and activate their account
3. For Users
Users need to have an account created by the admin in the Create user steps mentioned above.
3.1. Login
- Go to yoursite.com/login
- Enter your email, and click "Submit". An email will be sent with the Login Link
- Open your email, and click on this Login Link to log in.
3.2. Logout
Go to yoursite.com/logout
3.3. Use Gasby Chat UI
After logging in, you can use Gasby at yoursite.com
Please contact hieunc@thegums.co in case you have any feedback or questions.