Code Monkey home page Code Monkey logo

heroku-toolatra's Introduction

Toolatra buildpack for Heroku

This buildpack allows you to deploy your Tcl+Toolatra applications in a simple manner.

Usage

  1. Create your Heroku app

$ heroku create test-toolatra-tcl-heroku -s cedar --buildpack https://github.com/timkoi/heroku-toolatra.git
$ git init
$ git remote add origin https://git.heroku.com/test-toolatra-tcl-heroku.git
  1. Write your app

$ echo 'source toolatra_http.tcl; get / { render "hello there" }; run' > app.tcl
  1. Generate heroku.txt. It must contain one line. The line must contain:

    • the name of the entry point of the app (the kickstart file), in our case it is app.tcl

    • the port on which the app is running (choose 5050 if unsure)

Example:

$ echo 'app.tcl 5050' > heroku.txt
  1. Deploy everything

$ heroku login
$ git add . && git commit -m 'added everything'
$ git push -u origin master

heroku-toolatra's People

Contributors

timkoi 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.