https://github.com/humansinput/heroku-toolatra
Deploy Tcl/Toolatra applications to Heroku with this build pack.
https://github.com/humansinput/heroku-toolatra
heroku heroku-buildpack heroku-deployment tcl tcl-tk toolatra
Last synced: 25 days ago
JSON representation
Deploy Tcl/Toolatra applications to Heroku with this build pack.
- Host: GitHub
- URL: https://github.com/humansinput/heroku-toolatra
- Owner: humansinput
- Created: 2019-10-13T10:30:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T12:56:23.000Z (over 5 years ago)
- Last Synced: 2025-05-16T02:11:23.184Z (26 days ago)
- Topics: heroku, heroku-buildpack, heroku-deployment, tcl, tcl-tk, toolatra
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
= Toolatra buildpack for Heroku
This buildpack allows you to deploy your Tcl+Toolatra applications in a simple manner.
== Usage
1. Create your Heroku app
[source,bash]
----
$ 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
----2. Write your app
[source,bash]
----
$ echo 'source toolatra_http.tcl; get / { render "hello there" }; run' > app.tcl
----3. Generate ``heroku.txt``. It must contain one line. The line must contain:
[squares]
- 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:
[source,bash]
----
$ echo 'app.tcl 5050' > heroku.txt
----4. Deploy everything
[source,bash]
----
$ heroku login
$ git add . && git commit -m 'added everything'
$ git push -u origin master
----