autobaan/README.md

36 lines
665 B
Markdown

# autobaan
Automatic court reservation!
## Setup
### Requirements
- Node.js (18.x)
- npm (8.x)
- nvm
- Docker
- redis
#### Using nvm
1. Install [nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
1. `nvm use` will use version specified in `.nvmrc`
1. `nvm install-latest-npm` will upgrade NPM to latest version (8.x)
### Usage
```bash
npm install
npm start:dev
```
## Deployment
- Create a volume which will store the SQLite database file using docker-like
- Build image via provided dockerfile
- Run container with built image exposing port 3000 and mapping the aforementioned volume to /app/db
### CD
Using woodpecker to deploy this via pm2.