mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
use budo for vault development
This commit is contained in:
parent
1f8ede7cd9
commit
b6ad760082
@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
vault:
|
vault:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10
|
- image: circleci/node:10-browsers
|
||||||
working_directory: ~/offen/vault
|
working_directory: ~/offen/vault
|
||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
key: offen-vault-{{ checksum "package.json" }}
|
key: offen-vault-{{ checksum "package.json" }}
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: npm test
|
command: npm test -- --allow-chrome-as-root
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -41,7 +41,8 @@ To work on the `vault` you will need to install `docker-compose`.
|
|||||||
First, install the project's dependencies:
|
First, install the project's dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose run vault npm install
|
cd vault
|
||||||
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the server:
|
Run the server:
|
||||||
@ -53,7 +54,8 @@ docker-compose up
|
|||||||
Run the tests:
|
Run the tests:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose run vault npm test
|
cd vault
|
||||||
|
npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@ database:
|
|||||||
- POSTGRES_PASSWORD=develop
|
- POSTGRES_PASSWORD=develop
|
||||||
|
|
||||||
vault:
|
vault:
|
||||||
image: node:10-alpine
|
image: node:10
|
||||||
working_dir: /vault
|
working_dir: /vault
|
||||||
volumes:
|
volumes:
|
||||||
- ./vault:/vault
|
- ./vault:/vault
|
||||||
command: npm start
|
command: npm start -- --port 9977
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 9977:9977
|
||||||
|
Loading…
Reference in New Issue
Block a user