dev-extension

by RedForester

GitHub Readme.md

RedForester simple extension

Quick start to develop RedForester extensions

Deploy

Features

  • One-click deploy with Heroku
  • Simple registration and connection of the extension

Setup

  1. Clone repository
$ git clone https://github.com/RedForester/test-extension.git && cd test-extension
  1. Edit EXT_NAME, EXT_DESCRIPTION, EXT_EMAIL and USER_COOKIE in config.py.
  2. Deploy with Heroku CLI
$ heroku login
$ heroku create # command return PROJECT_NAME_IN_HEROKU and urls
# or heroku git:remote -a PROJECT_NAME_IN_HEROKU if app already exist
$ heroku labs:enable runtime-dyno-metadata -a PROJECT_NAME_IN_HEROKU
$ git push heroku master
  1. Update EXT_BASE_URL in config.py. For example https://PROJECT_NAME_IN_HEROKU.herokuapp.com or your public ip/domain.
  2. Register extension in RedForester
$ python register_extension.py