Skip to content

Missing .env in manual installation #288

Open
@RignonNoel

Description

@RignonNoel

Describe the bug
When we follow the manual installation process it seems that we are missing a .env file with some default key to launch the database migration or the run server.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project
  2. Follow the manual installation
  3. You should have the error when trying to run the migration of the database

Expected behavior
I think we need two think to be clear and maintanable:

  1. Create a .env.example with the default ENV key we need
## GENERAL SETTINGS
DEBUG=True
SECRET_KEY=local
ALLOWED_HOSTS=127.0.0.1, localhost, 0.0.0.0
  1. Update the manual installation documentation to ask people to copy-paste the .env.example and rename it .env.

Additional context
This problem is only for manual installation process and it's not related to the use of virtualenv.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions