Static website built with Gatsby.js, using the Gatsby i18n starter (for multi language).
- Install Gatsby.js (doc)
npm install -g gatsby-cli
- Install packages used by this site
cd <this repo>
npm install
- Run a local server on
localhost:8000
cd <this repo>
gatsby develop
- Adding new posts
Add new .md pages to the src/pages directory. One per supported language.
Name them as *.en.md
and *.fr.md
for multilanguage support.
See the changes instantly in the browser.
- Build the static website to the
public
directory.
cd <this repo>
gatsby build
- Upload
Install Surge.sh
cd <this repo>
surge public/
set domain to www.jbloit.com