aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-09-09 14:30:09 -0400
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-09-09 14:30:09 -0400
commit6f77a3c75f40b5327623ac99b1036b6e37c56480 (patch)
treefcaaba5f13201ebc486a235182230e76e1544839 /README.md
parent6a12a1f29362425390d36242a9c63ca7436f15da (diff)
downloadsubmelon.dev-6f77a3c75f40b5327623ac99b1036b6e37c56480.tar.gz
submelon.dev-6f77a3c75f40b5327623ac99b1036b6e37c56480.tar.bz2
submelon.dev-6f77a3c75f40b5327623ac99b1036b6e37c56480.zip
Replace README with slightly more pertinent info
Diffstat (limited to 'README.md')
-rw-r--r--README.md71
1 files changed, 28 insertions, 43 deletions
diff --git a/README.md b/README.md
index 2f81819..5199081 100644
--- a/README.md
+++ b/README.md
@@ -1,54 +1,39 @@
-<p align="center">
- <a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter">
- <img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
- </a>
-</p>
-<h1 align="center">
- Gatsby minimal starter
-</h1>
+# submelon.dev
-## ๐Ÿš€ Quick start
+## Deploying
-1. **Create a Gatsby site.**
+### Using Docker
- Use the Gatsby CLI to create a new site, specifying the minimal starter.
+The Dockerfile works via a fresh clone, no pre-build is needed. It can be tagged as follows:
- ```shell
- # create a new Gatsby site using the minimal starter
- npm init gatsby
- ```
+```
+docker build -t registry.digitalocean.com/submelon-tech/submelon.tech:latest .
+```
-2. **Start developing.**
+Or if using M1/ARM,
- Navigate into your new siteโ€™s directory and start it up.
+```
+docker buildx build --platform linux/amd64 -t registry.digitalocean.com/submelon-tech/submelon.tech:latest .
+```
- ```shell
- cd my-gatsby-site/
- npm run develop
- ```
+If the build fails in error as a result of the image, the base gatsby images can be rebuilt. (The gatsby images as exist on Dockerhub do not work.) To rebuild those images, run the following commands:
-3. **Open the code and start customizing!**
+```
+cd ..
+git clone https://github.com/gatsbyjs/gatsby-docker
+cd gatsby-docker
+docker build -t gatsbyjs/gatsby:onbuild -f Dockerfile.onbuild .
+docker build -t gatsbyjs/gatsby:latest -f Dockerfile .
+```
- Your site is now running at http://localhost:8000!
+Or if using M1/ARM,
- Edit `src/pages/index.js` to see your site update in real-time!
+```
+cd ..
+git clone https://github.com/gatsbyjs/gatsby-docker
+cd gatsby-docker
+docker buildx build --platform linux/amd64 -t gatsbyjs/gatsby:onbuild -f Dockerfile.onbuild .
+docker buildx build --platform linux/amd64 -t gatsbyjs/gatsby:latest -f Dockerfile .
+```
-4. **Learn more**
-
- - [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
- - [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
- - [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
- - [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
- - [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
- - [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
-
-## ๐Ÿš€ Quick start (Gatsby Cloud)
-
-Deploy this starter with one click on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/):
-
-[<img src="https://www.gatsbyjs.com/deploynow.svg" alt="Deploy to Gatsby Cloud">](https://www.gatsbyjs.com/dashboard/deploynow?url=https://github.com/gatsbyjs/gatsby-starter-minimal)
+And then attempt rebuild of the submelon.tech image.