Skip to content

octo-webf/octo-job-board

Repository files navigation

JobBoard OCTO

CircleCI

Coverage Status

Cron information

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

Getting started

# get project sources
git clone git@github.com: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

Visualise Data in Database

IntelliJ IDEA (and other JetBrains products)

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)

Running the different environments

You can run the API server independently from the client's development one.

Server

cd server
npm start

Client

cd client
npm run dev

Release to production

The release to production process is as simple as running the command (from any branch):

npm run release