Skip to content

mstop4/wikimaps

Repository files navigation

📍 Wikimaps 📍

Written by:

Screenshots

"Main page" "Show a marker" "Editing markers" "Creating and showing lists"

📍 Getting Started 📍

  1. Create the .env by using .env.example as a reference: cp .env.example .env
  2. Update the .env file with your correct local information
  3. Install dependencies: npm i
  4. Fix to binaries for sass: npm rebuild node-sass
  5. Run migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. 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.
  1. Run the server: npm run start
  2. Visit http://localhost:8080/
  3. Wiki some maps

📍 Dependencies 📍

  • 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