node package manager

gustavo

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:latest

You're all done!

Running locally

Now let's start it up:

docker build -t my-gus-blog .
docker run my-gus-blog --port 3000:3000

Your 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 --docker

License

  • MIT

Credits