To get set up...
Clone the git repository and cd
into nodebackend.
npm install
to install the dependences
Make a directory called "public" (mkdir public
).
Do some symlinking:
ln -s ../mobileapp public/mobile
ln -s ../desktopapp public/desktop
ln -s ../timecard public/timecard
Create a MySQL database named "orders", and create its schemas using the createSchema(WithData).sql script found in the dbschema directory.
Update nodebackend/config.json with the correct information for connecting to your MySQL database.
Whenever you want to start the app (desktop, mobile, or timecard, cd into nodebackend and do npm start). Ctrl-C will stop it.