- `git clone [email protected]:sghiassy/QBO-Convertor.git`
- `cd QBO-Conertor`
- `npm install`
- `npx grunt`
- `npm start`
The application is now deployed to a custom VPS using Docker Swarm at https://qboconverter.com
- Docker installed locally
- Docker context configured for VPS (named
hostinger) - Access to Docker Hub account
sghiassy
npm run docker:build:image # Build Docker image for linux/amd64
npm run docker:push # Push to Docker Hub
npm run docker:deploy # Deploy to VPS via Docker SwarmThe deployment process:
- Builds the image locally with Grunt build included
- Pushes to Docker Hub as
sghiassy/qbo-converter:latest - Deploys to VPS using Docker stack
qbo-app - Caddy automatically handles SSL/TLS and reverse proxy
Previously, this repo was set to automatically deploy to Heroku once the Travis CI job passed.
Install Heroku CLI: https://devcenter.heroku.com/articles/heroku-command-line
Configuration:
git remote add heroku [email protected]:qbo-converter.gitDeploy:
git push heroku master