Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.66 KB

README.md

File metadata and controls

64 lines (48 loc) · 1.66 KB

shapescience.xyz

Arthur Flam's personnal blog.

Netlify Status

Domain setup with AWS

Follow the instructions:

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!

Build the blog

  1. 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
  1. Get the blog and theme:
git clone --recurse-submodules git://github.com/shapescience/shapescience.xyz
cd shapescience.xyz
  1. 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

old instructions - now moved to netlify

  1. Install awscli tools:
pip install awscli
aws configure --profile arthur

Usage

npm run-script server
npm run-script build
# adjust your aws profile in package.json
npm run-script deploy

TODO

Next:

  • finish more drafts
  • add a section for shorter articles
  • save drafts / static