機能追加 #1898
アプリケーションインストール
<pre>
$ yum install python34u python34u-libs python34u-devel python34u-pip
$ python3 --version
$ yum install python34-setuptools
$ pip3.4 install -r requirements.txt
</pre>
ポート開放
<pre>
$ vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 5000 -j ACCEPT
$ /etc/init.d/iptables restart
</pre>
アプリ起動
<pre>
$ git clone git@github.com:i-hearts/haloonavi_ml.git
$ cd /var/www/haloo_navi_ml
$ pip3.4 install -r requirements.txt
$ export ENVIRONMENT=production
$ python3 main.py &
</pre>
<pre>
$ yum install python34u python34u-libs python34u-devel python34u-pip
$ python3 --version
$ yum install python34-setuptools
$ pip3.4 install -r requirements.txt
</pre>
ポート開放
<pre>
$ vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 5000 -j ACCEPT
$ /etc/init.d/iptables restart
</pre>
アプリ起動
<pre>
$ git clone git@github.com:i-hearts/haloonavi_ml.git
$ cd /var/www/haloo_navi_ml
$ pip3.4 install -r requirements.txt
$ export ENVIRONMENT=production
$ python3 main.py &
</pre>