setup.sh 729 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. fw_depends mysql python2
  3. pip install --install-option="--prefix=${PY2_ROOT}" -r $TROOT/requirements.txt
  4. rm -fr web2py
  5. git clone --recursive --branch master https://github.com/web2py/web2py.git
  6. cd web2py
  7. # The following commit is checked out in order to take advantage of several
  8. # bug fixes that were made after the latest stable release. This can be changed
  9. # in future rounds once a new stable release has been made.
  10. git checkout 623f3b99477eb97ffadb20d6f7cb3da398253c9c
  11. cd ..
  12. cp -r app/standard/ web2py/applications/
  13. cp -r app/optimized/ web2py/applications/
  14. cp app/wsgi.py web2py/
  15. cp app/routes.py web2py/
  16. touch web2py/__init__.py
  17. python compile_apps.py
  18. gunicorn web2py.wsgi:application -c gunicorn_conf.py &