0.0.1 • Published 9 years ago
gustavo v0.0.1
A blogging platform built atop Nuxt & Gist.
Contents
Getting started
Step 1, create gustavo.config.js with the following:
module.exports = {
  title: 'My gustavo blog',
  githubToken: '<< token >>',
  gistId: '<< gist id >>'
}Step 2, create a Dockerfile with the following:
FROM eggplanet/gustavo:latestYou're all done!
Running locally
Now let's start it up:
docker build -t my-gus-blog .
docker run my-gus-blog --port 3000:3000Your blog will be running at http://localhost:3000
Deployment
Deploying gustavo is simple. Our reccomended method is Now by Zeit.
now secrets add gustavo-github-token=<TOKEN>
now secrets add gustavo-gist-id=<ID>
now -e GITHUB_TOKEN=@gustavo-github-token -e GIST_ID=@gustavo-gist-id --dockerLicense
- MIT
Credits
0.0.1
9 years ago