Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 668 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 668 Bytes

Hacettepe Özgür Yazılım Topluluğu Websitesi

Build

  1. Install Node.js and make sure Node Package Manager (npm) is also installed into your machine.
  2. Install dependencies with npm install. If you are in production, use npm install --production.
  3. Create .env file in the root.
    NODE_LOCAL_PORT=3000
    DB_URL=mongodb://127.0.0.1:27017/oyt-website
    
  4. Run it with npm start.

Seed

  1. Make sure your machine has MongoDB installed.
  2. Make sure MongoDB is currently working in your machine with sudo systemctl status mongod.
  3. Seed your local database with npm run seed.