Arthur Flam's personnal blog.
Follow the instructions:
- https://agop.me/post/https-enabled-portfolio-hugo-s3-cloudfront.html
- https://lustforge.com/2016/02/27/hosting-hugo-on-aws/
For the email setup, there is a little more work.
Make sure to get certificates, validate your domain for emails, use s3
's web hosting feature to avoid ugly urls, and you should be good!
- Install hugo
# go to https://github.com/gohugoio/hugo/releases
# and find the release corresponding to your platform
wget https://github.com/gohugoio/hugo/releases/download/v0.87.0/hugo_extended_0.87.0_Linux-64bit.tar.gz
tar xvf hugo_extended_0.87.0_Linux-64bit.tar.gz
- Get the blog and theme:
git clone --recurse-submodules git://github.com/shapescience/shapescience.xyz
cd shapescience.xyz
- Build the blog
# adjust to your needs...
./hugo -t casper-two -w server --bind=0.0.0.0 --navigateToChanged --baseURL=$YOUR_IP -D
# if you use npm/yarn edit package.json to just use
npm run-script server
- Install
awscli
tools:
pip install awscli
aws configure --profile arthur
npm run-script server
npm run-script build
# adjust your aws profile in package.json
npm run-script deploy
Next:
- finish more drafts
- add a section for shorter articles
- save drafts / static