40 lines
322 B
Markdown
40 lines
322 B
Markdown
## Dev
|
|
|
|
```
|
|
make dev
|
|
```
|
|
|
|
To setup the dev env.
|
|
|
|
## Connect to the database
|
|
|
|
```
|
|
docker run -it --rm --link canape_postgresql_dev:postgres postgres:9.5 psql -h postgres -U test
|
|
```
|
|
|
|
## Run the tests
|
|
|
|
|
|
```
|
|
make test
|
|
```
|
|
|
|
## To clean up
|
|
|
|
```
|
|
make clean
|
|
```
|
|
|
|
## Build
|
|
|
|
```
|
|
npm run build
|
|
|
|
```
|
|
|
|
## Watch
|
|
|
|
```
|
|
npm run watch
|
|
```
|