Skip to content

Commit

Permalink
fix(#96): Edit README file
Browse files Browse the repository at this point in the history
Add intermediate step in the local deployment with Docker, indicating that the creation of an .env file is necessary.
  • Loading branch information
mrarjona authored Dec 18, 2022
1 parent 8400fcb commit 9817a5a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,24 @@ Once the installation is finished, we must create the database and the user that
git clone https://github.com/innosoft-innoweb/innosoft-innoweb-1
cd innosoft-innoweb-1
```
2. This project uses environment variables that need to be set before running the project, you will need to create a file called ".env" inside the directory with the following content:
```
DJANGO_SECRET_KEY = 'django-insecure-_$s8&xy9@woe3wlr(pqj3r(n8q78o4j##h-f4e%@3=ms_d$!i7'
PRODUCTION_DB_USER = ' '
PRODUCTION_DB_PASSWORD = ' '
```
An example django secret key is given here, but the best option is to have it generated by the user himself, knowing that it is a key that is used to encrypt sensitive data in the django application, and is at least 50 characters long.
3. Once the .env file is created, run the following command in the project directory:
```
docker-compose up -d
```
2. Finally, open the browser and access the following link: [http://localhost:8000](http://localhost:8000)
4. Finally, open the browser and access the following link: [http://localhost:8000](http://localhost:8000)
## Vagrant Local Deployment
Expand Down

0 comments on commit 9817a5a

Please sign in to comment.