Created a Dockerfile & docker-compose so theres no need to run in separate terminals (#111)

* docker file & docker-compose

* Readme & spelling corretions

* undoing formatOnSave changes

* more changes to readme
This commit is contained in:
Marko
2019-02-21 16:41:24 +01:00
committed by Maciej Hirsz
parent 71778e9450
commit dfaabac0df
4 changed files with 53 additions and 3 deletions
+10
View File
@@ -22,4 +22,14 @@ yarn start:frontend
./target/debug/polkadot --dev --telemetry-url ws://localhost:1024
```
### Run via Docker
To run via docker make sure that you have Docker Desktop
- If you dont you can download for you OS here [Docker Desktop](https://www.docker.com/products/docker-desktop)
```
docker-compose up --build -d
```
- -d stands for detach, if you would like to see logs i recommend using [Kitmatic](https://kitematic.com/) or dont use the -d
- --build will build the images and rebuild, but this is not required everytime
- If you want to makes UI changes, there is no need to rebuild the image as the files are being copied in via volumes.
Now navigate to localhost:3000 in your browser to view the app.