Compare commits
1 Commits
30961714fb
...
04c3c926ff
Author | SHA1 | Date | |
---|---|---|---|
04c3c926ff |
@ -12,7 +12,7 @@ steps:
|
||||
commands:
|
||||
- cd frontend
|
||||
- npm install
|
||||
- npm build
|
||||
- npm run-script build
|
||||
|
||||
- name: backend
|
||||
image: golang:1.14.0-alpine3.11
|
||||
|
@ -1,17 +1,10 @@
|
||||
## Install dependencies
|
||||
|
||||
### Install node
|
||||
### Install node and npm
|
||||
|
||||
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
|
||||
|
||||
### Install yarn and dependencies
|
||||
|
||||
```
|
||||
sudo npm install -g yarn
|
||||
yarn install
|
||||
```
|
||||
|
||||
## Dev
|
||||
|
||||
#### Check your config.yml file
|
||||
|
2
dev.sh
2
dev.sh
@ -144,7 +144,7 @@ case $1 in
|
||||
docker-compose -f "$DOCKER_COMPOSE_FILE" "$@"
|
||||
;;
|
||||
front)
|
||||
(cd frontend && npm install && npm start)
|
||||
(cd frontend && npm install && npm run-script start)
|
||||
;;
|
||||
db-init)
|
||||
_ensure_command jq
|
||||
|
@ -3,7 +3,7 @@
|
||||
"scripts": {
|
||||
"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",
|
||||
"lint": "./node_modules/eslint/bin/eslint.js frontend/."
|
||||
"lint": "./node_modules/eslint/bin/eslint.js ."
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "^4.3.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user