- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Run migrations:
npm run knex migrate:latest
- Check the migrations folder to see what gets created in the DB
- Run the seed:
npm run knex seed:run
- Check the seeds file to see what gets seeded in the DB
- The seed files add the users "Alice", "Bob", "Charlie", "Devin", and "Earl". Their accounts can be accessed by using their names as both the login and password.
- Run the server:
npm run start
- Visit
http://localhost:8080/
- Wiki some maps
- Bcrypt 1.0.2
- Body-parser 1.15.2 or above
- Connect-ensure-login 0.1.1 or above
- Dotenv 2.0.0 or above
- ejs 2.4.1 or above
- Express 4.13.4 or above
- Express-session 1.15.4 or above
- Knex 0.11.10 or above
- Knex-logger 0.1.0 or above
- Morgan 1.7.0 or above
- Node 5.10.x or above
- NPM 3.8.x or above
- Passport 0.3.2 or above