Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 798 Bytes

readme.md

File metadata and controls

27 lines (24 loc) · 798 Bytes

JR-EB-DEPLOY

This repo is used for JR academy tutoring purpose.

Steps

  1. fork this repo (if you want)
  2. git clone this repo
  3. add .env file to the root directory
    DB_HOST=127.0.0.1
    DB_DATABASE=jr-eb-deploy
    DB_PORT=27017
    JWT_KEY=your-random-key
    
  4. npm install
  5. npm audit fix
  6. npm run dev
    • make sure you see something like Server is listening on PORT: 3000
  7. there are two bugs in student, one in course. DEBUG them!
    • check the logic, use debug tool if needed.
  8. npm start
    • there should be errors shown in the terminal, Read carefully and SOLVE them.
  9. Connect with remote DB
  10. Commit your changes
  11. pack your project with git archive -v -o jr-cms.zip --format=zip HEAD
  12. you should get a jr-cms.zip file in your root directory.