by mrkurt · 15y ago · 0 comments
kurt$ heroku run bash
Running bash attached to terminal... up, run.2
~ $ python -V
Python 2.7.1
~ $Simple Flask app: https://gist.github.com/efec5e060e88abc87821
Python/Django: https://gist.github.com/866c79035a2d066a5850
/tmp $ cd redis-2.2.8/
/tmp/redis-2.2.8 $ make
/tmp/redis-2.2.8 $ cd src
/tmp/redis-2.2.8/src $ ./redis-server
[295] 31 May 15:36:30 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[295] 31 May 15:36:30 * Server started, Redis version 2.2.8
[295] 31 May 15:36:30 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[295] 31 May 15:36:30 * The server is now ready to accept connections on port 6379
[295] 31 May 15:36:30 - 0 clients connected (0 slaves), 790480 bytes in use
[295] 31 May 15:36:35 - 0 clients connected (0 slaves), 790480 bytes in use
[295] 31 May 15:36:40 - 0 clients connected (0 slaves), 790480 bytes in use "Run Anything
Run and scale any type of app." ~ $ go
gobject-query godefs godoc gofix gofmt goinstall gomake
gopack gopprof gotest gotry gotype govet goyacc
~ $ erl
erl erlcSince its fairly easy to composite multiple WSGI apps together, one could run a few different Python WSGI-based apps under a single multi-threaded process to take full advantage of the free quota. That would work with Pylons/Pyramid/Flask and other Python web frameworks that don't rely on a single set of module global settings (Django).