mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
fix docker
This commit is contained in:
parent
606cc2c42c
commit
6751d336e0
@ -103,10 +103,16 @@ If you want to know how, have a look at the respective component under [`src/com
|
|||||||
|
|
||||||
## ✨ Development
|
## ✨ 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
|
```bash
|
||||||
git clone git@github.com:kremalicious/portfolio.git
|
git clone git@github.com:kremalicious/portfolio.git
|
||||||
cd portfolio/
|
cd portfolio/
|
||||||
|
|
||||||
|
# use Docker
|
||||||
|
docker-compose up
|
||||||
|
|
||||||
|
# or go with local system
|
||||||
npm i
|
npm i
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run dev",
|
"start": "./node_modules/gatsby/dist/bin/gatsby.js develop",
|
||||||
"lint:js": "eslint ./gatsby-*.js && eslint ./src/**/*.{js,jsx}",
|
"lint:js": "eslint ./gatsby-*.js && eslint ./src/**/*.{js,jsx}",
|
||||||
"lint:css": "stylelint ./src/**/*.{css,scss}",
|
"lint:css": "stylelint ./src/**/*.{css,scss}",
|
||||||
"lint": "npm run lint:js && npm run lint:css",
|
"lint": "npm run lint:js && npm run lint:css",
|
||||||
"build": "./node_modules/gatsby/dist/bin/gatsby.js build",
|
"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": "prettier --write 'src/**/*.{js,jsx}'",
|
||||||
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
|
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
|
||||||
"test": "npm run lint && ./node_modules/.bin/ava **/*.test.js --verbose",
|
"test": "npm run lint && ./node_modules/.bin/ava **/*.test.js --verbose",
|
||||||
|
Loading…
Reference in New Issue
Block a user