software:heroku
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:heroku [2013/11/10 17:26] – created Michele Porelli | software:heroku [2014/04/23 09:55] (current) – [How-Tos] Michele Porelli | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Heroku ====== | ====== Heroku ====== | ||
===== How-Tos ===== | ===== How-Tos ===== | ||
+ | ==== Database ==== | ||
+ | === Import-Export === | ||
+ | == dump to pg, pg to dump == | ||
* [[https:// | * [[https:// | ||
+ | ==== Fix Heroku console with Fastweb connection ==== | ||
+ | NOTE: You need an external gateway | ||
+ | < | ||
+ | EXTERNAL_GATEWAY=" | ||
+ | INTERNAL_LAN=" | ||
+ | ip route flush table 4 | ||
+ | ip route show table main | grep -Ev ^default | while read ROUTE ; do ip route add table 4 $ROUTE ; done | ||
+ | ip route add table 4 default via $EXTERNAL_GATEWAY | ||
+ | iptables -t mangle -A PREROUTING -p tcp --dport 5000 -s $INTERNAL_LAN -j MARK --set-mark 4 | ||
+ | ip rule add fwmark 4 table 4 | ||
+ | ip route flush cache | ||
+ | </ |
software/heroku.1384100815.txt · Last modified: 2013/11/10 17:26 by Michele Porelli