mirror of
https://github.com/offen/website.git
synced 2024-12-23 13:30:20 +01:00
Merge pull request #4 from offen/browserify
Set up browserify pipeline for client side vault script
This commit is contained in:
commit
1f8ede7cd9
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