Giter VIP home page Giter VIP logo

heroku-app's Introduction

Voila application deployed on Heroku

This is an example of Voila deployed on Heroku, try it out: https://voila-heroku-demo.herokuapp.com

How to deploy your own?

  1. First, create an Heroku account (free account is fine for testing)

  2. Install Heroku on your machine: https://devcenter.heroku.com/articles/getting-started-with-python#set-up

  3. Clone this repository, or create your own repository that follows the same structure:

git clone https://github.com/voila-dashboards/voila-heroku
cd voila-heroku
  1. Create your Notebook and put it in the notebooks directory

  2. Add the dependencies needed for running your Notebook in the requirements.txt file

  3. Edit the Procfile file by replacing notebooks/bqplot.ipynb by the path to your awesome Notebook

  4. Commit everything

git commit -m "My awesome app on Heroku!"
  1. Create the Heroku app:
heroku create
  1. Now deploy your code:
git push heroku master
  1. That's it! Easy right? Now you can open your app using:
heroku open

Note that this last command is only a handy shortcut for opening your browser following the right url, you can also do that manually.

Extra steps

  • You can rename your application on the Heroku website, in the applicaion settings. If you rename it, don't forget to update the remote repository doing git remote remove heroku && git remote add heroku https://git.heroku.com/your-application-name.git
  • You can add/remove/update voila command line arguments in the Procfile file, e.g. you can use the dark theme by adding --theme=dark

heroku-app's People

Contributors

ehsanulayon avatar

Watchers

 avatar

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.