mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
set up browserify pipeline for client side vault script
This commit is contained in:
parent
db6089a444
commit
9f24548a90
23
README.md
23
README.md
@ -34,6 +34,29 @@ Run the tests:
|
||||
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
|
||||
|
||||
MIT © offen
|
||||
|
@ -17,3 +17,12 @@ database:
|
||||
image: postgres:11.2
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=develop
|
||||
|
||||
vault:
|
||||
image: node:10-alpine
|
||||
working_dir: /vault
|
||||
volumes:
|
||||
- ./vault:/vault
|
||||
command: npm start
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
Loading…
Reference in New Issue
Block a user