Create Markdown files in /markdown
. They must include the following frontmatter:
---
path: /lorem-ipsum
date: "2017-11-07"
title: "Lorem ipsum"
---
Create Markdown files in /markdown
. They must include the following frontmatter:
---
path: /lorem-ipsum
date: "2017-11-07"
title: "Lorem ipsum"
job: true
---
Create JSX pages in /src
. The filename becomes the path (eg. foo.js
will live at /foo
).
brew install node
npm install -g yarn
yarn install
cp .env.example .env.development
and populate .env.development
with your valuesyarn start
Deploy is managed through Netlify via Github. Pushes to master
will trigger deploys to production. The production site is hosted on Netlify at https://darklang.com.
cp .env.example .env.production
and populate .env.production
with your valuesyarn build
/public
to webserver as document root or $yarn deploy
to push to Netlify.