Giter Site home page Giter Site logo

gollum-on-heroku's Introduction

Gollum on Heroku

auto generate git powered wiki (Gollum) to Heroku.

Deploy

  • sync to GitHub
  • simple basic authentication
  • can use multi git source

Use Deploy to Heroku button

  • Click Deploy to Heroku button
  • Fill App name
  • Fill environment variables
variable description
GITHUB_TOKEN An access key for GitHub. If this field is empty, updated data will be deleted after reboot dyno.
GIT_REPO_URL_1 Git repository URL. e.g https://github.com/naoa/test https://github.com/naoa/test.wiki
GIT_REPO_URL_2~ Git repository URL. any num is ok.
AUTHOR_NAME git config user.name
AUTHOR_EMAIL git config user.email
BASIC_AUTH_USERNAME if need protect by basic authentication
BASIC_AUTH_PASSWORD if need protect by basic authentication
BASIC_AUTH_MANAGE_ONLY if need protect only manage actions such as edit/create.
GOLLUM_H1_TITLE default: true
GOLLUM_UNIVERSAL_TOC default: false
GOLLUM_ALLOW_EDITING default: true
GOLLUM_LIVE_PREVIEW default: false
GOLLUM_ALLOW_UPLOADS default: true
GOLLUM_SHOW_ALL default: true
GOLLUM_COLLAPSE_TREE default: false
GOLLUM_IS_BARE default: false / If this is true, Git repository URL must include .git extension
  • Add heroku repository(if need)
git clone [email protected]:[App name].git
cd [App name]
git remote add heroku [email protected]:[App name].git

Use local

bundle exec rackup config.ru

URL mapping

  • 1 repository
  https://[App_name].herokuapp.com/ -> repo_1
  • over 2 repositories
  https://[App_name].herokuapp.com/repo_1 -> repo_1
  https://[App_name].herokuapp.com/repo_2 -> repo_2

License

MIT

Authors

Naoya Murakami

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.