https://github.com/jpchip/mylifeintheservice
The wartime diary of levi chapiewsky
https://github.com/jpchip/mylifeintheservice
blog docker gatsby history pacific wordpress world-war-2
Last synced: about 1 month ago
JSON representation
The wartime diary of levi chapiewsky
- Host: GitHub
- URL: https://github.com/jpchip/mylifeintheservice
- Owner: jpchip
- License: mit
- Created: 2019-05-10T13:54:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T14:13:41.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T00:28:52.543Z (3 months ago)
- Topics: blog, docker, gatsby, history, pacific, wordpress, world-war-2
- Language: JavaScript
- Homepage: https://upbeat-murdock-c7801c.netlify.com/
- Size: 190 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# My Life in the Service
> The diary of levi chapiewskyThis is a Gatsby version of https://mylifeintheservice.wordpress.com.
This project was cloned from [Gatsby v2 WordPress Starter](https://github.com/GatsbyCentral/gatsby-starter-wordpress)
## Installing / Getting started
Uses docker. Copy `.env.example` to `.env`.
```shell
docker-compose up -d
```Gatsby will start a hot-reloading development environment accessible by default at localhost:8000.
Try editing the JavaScript pages in src/components. Saved changes will live reload in the browser.
_Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._
#### Testing Production Builds Locally
To test a production build locally, run:
```shell
docker-compose -f docker-compose-prod.yml up -d
```This will build and launch a web server hosting at http://localhost:9000
**Note:** When switching back and forth between the local dev and prod builds, if you see docker errors complaining about the network not being found,
try running the `docker-compose down` command before switching.