https://github.com/robcxyz/robcxyz-blog
Blog made in Sphinx for robc.xyz
https://github.com/robcxyz/robcxyz-blog
Last synced: about 2 months ago
JSON representation
Blog made in Sphinx for robc.xyz
- Host: GitHub
- URL: https://github.com/robcxyz/robcxyz-blog
- Owner: robcxyz
- Created: 2019-02-06T00:48:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:53:54.000Z (over 1 year ago)
- Last Synced: 2025-01-31T07:33:11.726Z (4 months ago)
- Language: Python
- Size: 1.61 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# robcxyz-blog
Blog made in [Tinkerer](https://github.com/vladris/tinkerer), a [Sphinx](https://github.com/sphinx-doc/sphinx) theme for blogging.```
cd blog
tinkerer -p
```#### Local Build
```bash
tinker --build
python3 -m http.server 8001
```### Deploying your own blog
#### Deploy static website
```shell script
cd terragrunt
# install terragrunt v0.25.x
terragrunt apply
```Keep the outputs handy as you'll need a few of them.
#### Setup updates to website on each commit
Sign up for CircleCI and register repo.
Update the following to reflect your new bucket for the website.
```yaml
- aws-s3/sync:
from: blog
to: 's3://robc.xyz' # <- THIS
overwrite: true
aws-region: AWS_DEFAULT_REGION
```Take the relevent outputs and put them into circleci environment variables.
- CLOUDFRONT_DISTRIBUTION_ID
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEYWhere the credentials have access to push to the S3 bucket and update the cloudfront distribution.
Each commit should now
# Resources
- [insight-infrastructure/terraform-aws-cloudfront-static-site](github.com/insight-infrastructure/terraform-aws-cloudfront-static-site)