2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +01:00

Merge pull request #4 from offen/browserify

Set up browserify pipeline for client side vault script
This commit is contained in:
Frederik Ring 2019-04-19 21:18:04 -06:00 committed by GitHub
commit 1f8ede7cd9
2 changed files with 32 additions and 0 deletions

View File

@ -34,6 +34,29 @@ Run the tests:
docker-compose run server make docker-compose run server make
``` ```
#### `vault`
To work on the `vault` you will need to install `docker-compose`.
First, install the project's dependencies:
```
docker-compose run vault npm install
```
Run the server:
```
docker-compose up
```
Run the tests:
```
docker-compose run vault npm test
```
### License ### License
MIT © offen MIT © offen

View File

@ -17,3 +17,12 @@ database:
image: postgres:11.2 image: postgres:11.2
environment: environment:
- POSTGRES_PASSWORD=develop - POSTGRES_PASSWORD=develop
vault:
image: node:10-alpine
working_dir: /vault
volumes:
- ./vault:/vault
command: npm start
ports:
- 3000:3000