diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9fb989a8..3172cb84 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ If you made changes to this boilerplate and want to test them, do as follows: - Run `git archive -o boilerplate.zip HEAD` to create the template zip file - Run the following: ```bash - cd .. && django-admin startproject theprojectname --extension py,yml,json --name Procfile,README.md,.env.example,Dockerfile,Makefile,pyproject.toml,render.yaml --template=django-react-boilerplate/boilerplate.zip + cd .. && django-admin startproject theprojectname --extension py,yml,json --name Procfile,README.md,.env.example,Dockerfile,docker-compose.yml,Makefile,pyproject.toml,render.yaml --template=django-react-boilerplate/boilerplate.zip ``` - A new folder called `theprojectname` will be created and now you can test your changes - Make sure that the project is still running fine with and without docker diff --git a/README.md b/README.md index a272fdaf..5efb8f18 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ This is a good starting point for modern Python/JavaScript web projects. - [ ] Open the command line and go to the directory you want to start your project in. - [ ] Start your project using: ``` - django-admin startproject theprojectname --extension py,yml,json --name Procfile,Dockerfile,README.md,.env.example,.gitignore,Makefile,render.yaml --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip + django-admin startproject theprojectname --extension py,yml,json --name Procfile,Dockerfile,docker-compose.yml,README.md,.env.example,.gitignore,Makefile,render.yaml --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip ``` Alternatively, you may start the project in the current directory by placing a `.` right after the project name, using the following command: ``` - django-admin startproject theprojectname . --extension py,yml,json --name Procfile,Dockerfile,README.md,.env.example,.gitignore,Makefile,render.yaml --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip + django-admin startproject theprojectname . --extension py,yml,json --name Procfile,Dockerfile,docker-compose.yml,README.md,.env.example,.gitignore,Makefile,render.yaml --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip ``` In the next steps, always remember to replace theprojectname with your project's name - [ ] Above: don't forget the `--extension` and `--name` params! diff --git a/docker-compose.yml b/docker-compose.yml index e77e81fd..b3a70d90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.1' +version: '3.5' services: db: