setup.sh 321 B

123456789101112
  1. #!/bin/bash
  2. fw_depends python2
  3. pip install --install-option="--prefix=${PY2_ROOT}" -r $TROOT/requirements.txt
  4. rm -fr web2py
  5. git clone --recursive --branch R-2.10.3 https://github.com/web2py/web2py.git
  6. cp -r app/app/ web2py/applications/
  7. cp app/routes.py web2py/
  8. python web2py/web2py.py -a '' -i 127.0.0.1 -p 8080 &