Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 765 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 765 Bytes

GoSushi

To run locally:

  1. Set your SERVERPORT environment variable. (setx SERVERPORT or set SERVPORT= or export SERVERPORT ). On Windows, you'll need to relaunch your cmd. Choose a number that isn't 3000 or set your PORT environment variable as well.
  2. Run node app.js in the gosushi_server folder
  3. Run npm start in the gosushi_client folder

Creating and running unit tests:

  1. Go to gosushi_server
  2. run npm test or npx jasmine to run all test files
  3. run npx jasmine spec/_filename_.test.js to run tests in only individual files
  4. All unit tests must be terminated by .test.js and must be within the spec/tests folder. They can be placed within subfolders if necessary. See jasmine.test.js for an example.