Running on student - JaysGitLab/cs5667-final-project-revdev GitHub Wiki

Installation

  • Clone the repository
  • Securely request the config/env/development.js file for running the development application
  • Securely request the config/env/test.js file for running the back end unit tests
  • Save these files to your repository in config/env/
  • Change config/env/development.js db: 'mongodb://localhost:YOUR_INTERNAL_STUDENT_PORT_NUMBER/YOUR_DATABASE_NAME'
  • Change config/env/development.js db: 'mongodb://localhost:YOUR_INTERNAL_STUDENT_PORT_NUMBER/YOUR_TEST_DATABASE_NAME'
  • Change server.js app.listen(YOUR_EXTERNAL_STUDENT_PORT_NUMBER)
  • Change server.js console.log('Server running at http://student.cs.appstate.edu:YOUR_EXTERNAL_STUDENT_PORT_NUMBER');
  • Run 'npm install' from the command line in the project root directory

Run the development application

  • In a separate terminal, start MongoDB service
  • Run 'npm start' from the command line in the project root directory