Open-event-server: User warning to run create_db.py

Created on 2 Jan 2020  路  4Comments  路  Source: fossasia/open-event-server

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'generic installation'
  2. Follow the instructions
  3. Run python3 create_db.py
  4. See error
    UserWarning: Could not any envfile. warnings.warn('Could not any envfile.') DATABASE_URLeither not exported or empty

Additional details (please complete the following information):

  • OS: [Ubuntu]
  • Python Version [`3.7']
invalid

Most helpful comment

Read the instruction file.

cp .env.example .env you didn't performed this step

All 4 comments

Read the instruction file.

cp .env.example .env you didn't performed this step

@codedsun I have perform it.

@codedsun
UserWarning: Use of the defaultget_ipaddrfunction is discouraged. Please refer to https://flask-limiter.readthedocs.org/#rate-limit-domain for the recommended configuration
How to remove such warning.

git pull upstream development

Was this page helpful?
0 / 5 - 0 ratings