Take care of cron configure in jobs-synchronizer.js. Node Schedule uses a strange format of cron: https://github.com/node-schedule/node-schedule
Production mode: call at 2am, 8am, 2pm, 8pm every day Development mode: call at 8am every day
# get project sources
git clone [email protected]:octo-web-front-end-tribe/octo-job-board.git
cd octo-job-board
# install dependencies
npm install
# run tests
npm test
# configure database
npm run configure
# build Vue.js client for production with minification
npm run build
# start the application
npm start
In project tree, find octo-job-board/server/src/db/data.development.sqlite
- Right Click
- As Data Source
- Driver should be `SQLITE`
- OK
- Click on `Download` missing driver files
Database is now configure and to access it, click on Database View (View > Database)
You can run the API server independently from the client's development one.
cd server
npm start
cd client
npm run dev
The release to production process is as simple as running the command (from any branch):
npm run release