A simple app for submitting a rental application form.
Copy config.json.dist
to config.json
and edit it.
npm install
npm run client:watch
docker-compose up -d
Copy config.json.dist
to config.json
and edit it.
npm run client:build
tar cf - build config.json server node_modules package.json | gzip -> 1150.tgz
or using rsync
rsync -avzh --delete --exclude '/config.json' --exclude '/.db' --exclude '/.git' --exclude '/trash' /local/path/to/1151sw35th/ [email protected]:~/path/to/web/root/
NOTE: The trailing slashes in paths are important.
This will start the server, keep it running, and stay running after disconnecting from SSH:
nohup npm run server:forever &
{
"db": {
"host": "db",
"user": "dev",
"pass": "dev",
"name": "dev"
},
"api": {
"baseUrl": "http://localhost:3020/api"
},
"view": {
"baseUrl": "http://localhost:3020/view"
},
"contact": {
"email": "[email protected]",
"phone": "555-555-5555"
},
"notify": {
"from": "Your Name <[email protected]>",
"recipients": "[email protected], [email protected]"
},
"ga": {
"trackingId": "your-google-analytics-tracking-id"
}
}