Setup a Mac/Linux development environment
You'll find here instructions to setup a development environment for Gladys 4.
#
ServerThe server is a Node.js app.
#
Install system dependenciesYou'll need:
- Node.js 14
- sqlite3
- openssl
- openzwave + libopenzwave1.5-dev
for assistance, help can be found at CircleCI config file.
#
Clone Gladys Git repo#
Install NPM dependencies#
Start DB migration#
Start the serverThe server should be accessible at http://localhost:1443.
#
FrontendAt the root of the git repo, do:
#
Install NPM dependencies#
Start the frontendThe frontend should be accessible at http://localhost:1444.
#
Start server testsGo to the server
folder.
And run:
#
Start server tests only for one serviceTo run the tests just for one service, go to the server
folder and run the command: