Closed SureshPradhana closed 5 days ago
Thankyou for this contribution @SureshPradhana ! I had some comments but before this I want #25 and #26 to get merged and have postgres setup as primary db. After all this is done, I will review this PR in depth. Till then you can keep updating this PR as above mentioned changes get merged.
Hi @SureshPradhana , Can you configure the docker according to the changes in #37 ? I have done some refactoring, moved files here and there and changed default db to postgres. I am assuming setting up postgres on local will be a pain for other contributors so I want to merge docker changes and refactoring changes one after the other, this will allow them run the project using docker without need to download and setup postgres locally.
@DevilsAutumn Okay, I will work on it.
@DevilsAutumn, I will be attending a wedding and might not be available for a few days. Could you please handle this pull request in the meantime? I will resume contributing when I return. Also, I have included changes from pull request #37 for testing here. let me know if everything is okay; otherwise, how should this be handled?
@SureshPradhana No worries! I will complete this PR. 👍
Description
fixes #5 Introduces Docker development environment setup for the project. Dockerfiles (
Dockerfile.frontend.dev
,Dockerfile.backend.dev
) and Docker Compose (docker-compose.yml
) configurations are added. Documentation updates are made incontributing.md
for usage details. Resolves (https://github.com/djangoindia/djangoindia.org/issues/5). Note: Docker production setup is pending.Changes Made
contributing.md
with setup instructions.How to Test
docker-compose up --build
docker-compose up
docker-compose up frontend
docker-compose up backend
http://localhost:3000
http://localhost:8000
Notes
.env
files are configured for local development.