fix container run script, update readme

This commit is contained in:
andrew.greene 2022-01-20 17:15:19 -07:00
parent 965d877b63
commit 9b0b85773d
3 changed files with 993 additions and 350 deletions

View File

@ -7,12 +7,12 @@ Sparkle's Guide is inspired by [roadmap.sh](https://roadmap.sh) and is a derivat
Local Environment with NPM Local Environment with NPM
1. `npm install` 1. `npm install`
2. `npm run build` 2. `npm run build`
3. `npm start` 3. `npm start -- data/flows.json`
4. Open <http://127.0.0.1:1880/> 4. Open <http://127.0.0.1:1880/>
Docker Docker/Podman
1. `./docker-build.sh` 1. `./container-build.sh`
2. `./docker-run.sh` 2. `./container-run.sh`
3. Open <http://127.0.0.1:1880/> 3. Open <http://127.0.0.1:1880/>
## Contributing ## Contributing

View File

@ -8,4 +8,4 @@ fi
echo using $CONTAINER_ENGINE container engine... echo using $CONTAINER_ENGINE container engine...
$CONTAINER_ENGINE run -p 1880:1880 -v "$(pwd)"/data/:/root/.node-red/ sparkle-guide:$VERSION & $CONTAINER_ENGINE run -p 1880:1880 -v "$(pwd)"/data:/home/appuser/.node-red sparkle-guide:$VERSION &

1331
package-lock.json generated

File diff suppressed because it is too large Load Diff