Skip to content

Badger is a simplified self hosted Gist alternative built with Go.

Notifications You must be signed in to change notification settings

tristanoneil/badger

Repository files navigation

Badger

Circle CI

Badger is a simplified self hosted Gist alternative built with Go.

Badger

Development Setup

  1. Create a PostgreSQL database for Badger like so: createdb badger.

  2. Retrieve Badger's dependencies go get ./...

  3. Install godotenv and gin like so.

    $ go get github.com/codegangsta/gin
    $ go get github.com/joho/godotenv/cmd/godotenv
    
  4. Copy .env.example to .env and configure the environment variables as necessary.

  5. Install the dependencies for compiling assets with npm install.

  6. Start the default gulp task to compile assets with gulp.

  7. Start the application with godotenv gin, gin will automatically reload your code as you make changes.

About

Badger is a simplified self hosted Gist alternative built with Go.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages