-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
sonsoleslp edited this page Aug 19, 2020
·
6 revisions
- Install node (10.x.x) with npm.
- Install postgres or any other supported DB (MySQL, MariaDB, SQLite and Microsoft SQL Server).
- Create a Sendgrid account.
- Create a Cloudinary account account.
- Clone this repository:
git clone http://github.com/sonsoleslp/escapp
cd escapp
- Install dependencies:
npm install
- Create database tables:
npm run migrate_local
- [ Optional ] Seed database:
npm run seed_local
- Configure environment variables in
.env
file:
DATABASE_URL=...
CLOUDINARY_URL=...
SENDGRID_API_KEY=...
APP_NAME=...
- Run the server
npm run dev
- Set the
NODE_ENV
environment variable to production:
export NODE_ENV=production
- Run the server:
npm run start_production
- [ Optional ] Run the server with
forever
:
npm run start_production_forever
-
User manual
- Sign up/Login
- Teacher manual
- Student manual
- Documentation for developers
- Other