These are chat archives for fossasia/open-event-server

12th
Jan 2017
Arpit Nandwani
@arpitn30
Jan 12 2017 05:46
Are you running the manage.py file or using the gunicorn server
Niranjan Rajendran
@niranjan94
Jan 12 2017 06:33

@Rishav09 I recommend using the Flask Development server for local use. Has cool features such as auto-reloading on file change and a dev console for debugging when any exceptions are raiser. I have been using it for quite sometime now and face no issues.

http://flask.pocoo.org/docs/0.12/server/#command-line

Arpit Nandwani
@arpitn30
Jan 12 2017 07:41
Where can I find the controller/app route for /events/create/
Niranjan Rajendran
@niranjan94
Jan 12 2017 07:42
@arpitn30 app/views/users/events.py
Arpit Nandwani
@arpitn30
Jan 12 2017 07:50
👍
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 12 2017 14:22
when I am trying to run this from werkzeug.utils import redirect
ImportError: No module named werkzeug.utils
is coming
Niranjan Rajendran
@niranjan94
Jan 12 2017 14:24
@Himanshi-Khandelwal did you install all the requirements by running sudo -H pip install -r requirements/dev.txt ?
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 12 2017 14:24
yes
I did that twice
Mario Behling
@mariobehling
Jan 12 2017 16:49
@niranjan94 I have a question about gh-pages. How is it generated? What is the flow?
Niranjan Rajendran
@niranjan94
Jan 12 2017 16:51
  • Files inside the doc folder on development are edited
  • PR is submitted to development
  • PR merged
  • At one point, development is merged to master.
  • At that point, gh-pages gets updated from the docs folder in master
Mario Behling
@mariobehling
Jan 12 2017 16:56
wow, cool
where is the script that does it?
I think we should add this info to the Readme.md
Niranjan Rajendran
@niranjan94
Jan 12 2017 16:57
scripts/push_api_docs.sh
Okay ... I'll add it to readme
Mario Behling
@mariobehling
Jan 12 2017 16:59
Is it possible to add the readme.md as a start page into the documentation site as well?
Niranjan Rajendran
@niranjan94
Jan 12 2017 17:03
Yes. That would be possible too ...
Will do it
Mario Behling
@mariobehling
Jan 12 2017 17:12
:+1:
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 12 2017 18:18
ImportError: No module named forex_python.converter
while running python manage.py
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 12 2017 18:24
ok ok error solved