Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 673 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 673 Bytes

Persian Mode Server

  • make a .env file in root of project to set local environment variable in development mode

  • Change INIT_DB in .env to the database that already exists in your Postgres (e.g. 'postgres' in Windows, and your user name in Linux)

  • If you use windows, in package.json change npm/test to:

    jasmine&jasmine-node server_spec

  • If you do not have jasmine or jasmine-node, install them globally:

    npm install -g jasmine npm install -g jasmine-node

  • run npm install:

    npm install

  • at this point you should be able to run the project: npm start

  • then you should be able to run tests: npm test