3 ms·
Huh, so the Python support is pretty complete: Simple Flask app: https://gist.github.com/efec5e060e88abc87821 https://gist.github.com/efec5e060e88abc87821 Pyt
by mrkurt 15y ago
Huh, so the Python support is pretty complete:
Simple Flask app:
https://gist.github.com/efec5e060e88abc87821 https://gist.github.com/efec5e060e88abc87821
Python/Django:
https://gist.github.com/866c79035a2d066a5850 https://gist.github.com/866c79035a2d066a5850
- mrkurt 15y agoWow, it gets even more interesting: /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
- adw 15y agoAbsolutely none of this is officially supported, right? (It looks very much like "game on, DotCloud", from what you've been finding, though....)
- mrkurt 15y agoI don't think any of it's supported. Redis will run, but you can't exactly get to it (no TCP routing mesh apparently). It really just seems like they made it really easy to add new languages.
- windle 15y agoThis is because running commands is from a one-off dyno vs. the formation dyno's that have requests routed to them. See: http://devcenter.heroku.com/articles/oneoff-admin-ps http://devcenter.heroku.com/articles/oneoff-admin-ps
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- bradly 15y agoFrom their new homepage (http://www.heroku.com http://www.heroku.com) : "Run Anything Run and scale any type of app."