1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-02-14 21:10:41 +01:00

fix docker

This commit is contained in:
Matthias Kretschmann 2018-09-20 22:38:10 +02:00
parent 606cc2c42c
commit 6751d336e0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 8 additions and 2 deletions

View File

@ -103,10 +103,16 @@ If you want to know how, have a look at the respective component under [`src/com
## ✨ Development
You can simply use [Docker](https://www.docker.com) & [Docker Compose](https://docs.docker.com/compose/) or install and run dependencies on your local system.
```bash
git clone git@github.com:kremalicious/portfolio.git
cd portfolio/
# use Docker
docker-compose up
# or go with local system
npm i
npm start
```

View File

@ -7,12 +7,12 @@
"license": "MIT",
"author": "Matthias Kretschmann <m@kretschmann.io>",
"scripts": {
"start": "npm run dev",
"start": "./node_modules/gatsby/dist/bin/gatsby.js develop",
"lint:js": "eslint ./gatsby-*.js && eslint ./src/**/*.{js,jsx}",
"lint:css": "stylelint ./src/**/*.{css,scss}",
"lint": "npm run lint:js && npm run lint:css",
"build": "./node_modules/gatsby/dist/bin/gatsby.js build",
"dev": "./node_modules/gatsby/dist/bin/gatsby.js develop",
"dev": "./node_modules/gatsby/dist/bin/gatsby.js develop --host 0.0.0.0",
"format": "prettier --write 'src/**/*.{js,jsx}'",
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
"test": "npm run lint && ./node_modules/.bin/ava **/*.test.js --verbose",