Compare commits
1 Commits
30961714fb
...
04c3c926ff
Author | SHA1 | Date | |
---|---|---|---|
04c3c926ff |
@ -12,7 +12,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- npm install
|
- npm install
|
||||||
- npm build
|
- npm run-script build
|
||||||
|
|
||||||
- name: backend
|
- name: backend
|
||||||
image: golang:1.14.0-alpine3.11
|
image: golang:1.14.0-alpine3.11
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
## Install dependencies
|
## Install dependencies
|
||||||
|
|
||||||
### Install node
|
### Install node and npm
|
||||||
|
|
||||||
You'll need node v6+, here's a link to install it:
|
You'll need node v6+, here's a link to install it:
|
||||||
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
|
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
|
||||||
|
|
||||||
### Install yarn and dependencies
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo npm install -g yarn
|
|
||||||
yarn install
|
|
||||||
```
|
|
||||||
|
|
||||||
## Dev
|
## Dev
|
||||||
|
|
||||||
#### Check your config.yml file
|
#### Check your config.yml file
|
||||||
|
2
dev.sh
2
dev.sh
@ -144,7 +144,7 @@ case $1 in
|
|||||||
docker-compose -f "$DOCKER_COMPOSE_FILE" "$@"
|
docker-compose -f "$DOCKER_COMPOSE_FILE" "$@"
|
||||||
;;
|
;;
|
||||||
front)
|
front)
|
||||||
(cd frontend && npm install && npm start)
|
(cd frontend && npm install && npm run-script start)
|
||||||
;;
|
;;
|
||||||
db-init)
|
db-init)
|
||||||
_ensure_command jq
|
_ensure_command jq
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development ./node_modules/webpack/bin/webpack.js -d --progress --colors --watch",
|
"start": "NODE_ENV=development ./node_modules/webpack/bin/webpack.js -d --progress --colors --watch",
|
||||||
"build": "NODE_ENV=production ./node_modules/webpack/bin/webpack.js -p --progress --colors",
|
"build": "NODE_ENV=production ./node_modules/webpack/bin/webpack.js -p --progress --colors",
|
||||||
"lint": "./node_modules/eslint/bin/eslint.js frontend/."
|
"lint": "./node_modules/eslint/bin/eslint.js ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "^4.3.1",
|
"bootstrap": "^4.3.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user