*./gitlab-ci.yml*
image: ubuntu:latest
before_script:
  - apt-get update
  - apt-get install -y python python-pip python-setuptools unzip wget 
gunicorn
  - pip install --upgrade pip
  - wget -c http://web2py.com/examples/static/web2py_src.zip
  - unzip -o web2py_src.zip
  - rm -rf web2py/applications/examples
  - chmod 755 -R web2py/
pages:
  script:
  - python web2py/anyserver.py -s gunicorn -i 0.0.0.0 -p 80
  artifacts:
    paths:
    - applications
  only:
  - master

*latest job (status running) in shell*
$ python web2py/anyserver.py -s gunicorn -i 0.0.0.0 -p 80
[2017-12-21 00:08:03 +0000] [3564] [INFO] Starting gunicorn 19.4.5
[2017-12-21 00:08:03 +0000] [3564] [INFO] Listening at: http://0.0.0.0:80 
(3564)
[2017-12-21 00:08:03 +0000] [3564] [INFO] Using worker: sync
[2017-12-21 00:08:03 +0000] [3577] [INFO] Booting worker with pid: 3577

*result*
nothing happen when visiting http://username.gitlab.io/learn_web2py/

*expected result*
web2py admin pages

how can i configure gitlab-ci to achieve that?

thanks and best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to