cd idiot-view
yarn serve
Requirements:
- a running local CouchDB. If you have Docker, it is easiest to use the Docker CouchDB images
- test configuration on the CouchDB. See the Travis CI configuration for the commands to configure a vanilla CouchDB
Then:
TEST_COUCHDB_ADDR=localhost:5984 npm test
Rely on commitizen to enforce the Conventional Commits standard on commit messages.
git add .
npm run commit
Push to master automatically deploys to Magare via Travis CI.
Manually:
DEPLOY_USER=<deploy-user> DEPLOY_PASSWORD=<deploy-password> DEPLOY_HOST=<deploy-host> ./deploy.sh
The default schema is "https" so when deploying locally include SCHEMA
variable, as well as specifying the port in DEPLOY_HOST
:
DEPLOY_USER=test-admin DEPLOY_PASSWORD=test-admin-password DEPLOY_HOST=localhost:5984 SCHEMA=http ./deploy.sh
Arduino code tested with ESP8266 (ESP12e and Olimex MOD-WIFI) is in separate repository esp-idiot