2021-02-26 23:23:00 -05:00
|
|
|
# www2.0
|
|
|
|
|
2021-02-26 23:26:20 -05:00
|
|
|
The successor to my homepage. Hold on to your butts.
|
2021-04-15 17:35:28 -04:00
|
|
|
|
|
|
|
## Building/Testing
|
|
|
|
|
|
|
|
### Build the container locally
|
|
|
|
|
|
|
|
docker build -t www-swagg .
|
|
|
|
|
|
|
|
### Run it locally
|
|
|
|
|
|
|
|
docker run -p 3000:3000 www-swagg:latest
|
|
|
|
|
|
|
|
Pull up [http://localhost:3000](http://localhost:3000) and poke around
|
|
|
|
**TODO:** Should create automated tests for this
|
|
|
|
|
|
|
|
## Tagging/Pushing
|
|
|
|
|
|
|
|
### Tag the image
|
|
|
|
|
|
|
|
docker tag www-swagg gcr.io/www-swagg/www-swagg
|
|
|
|
|
|
|
|
### Send it
|
|
|
|
|
|
|
|
docker push gcr.io/www-swagg/www-swagg
|