https://github.com/hashdefault/docker-django
create an environment with docker and django + virtualenv
https://github.com/hashdefault/docker-django
django docker environment python virtualenv
Last synced: 23 days ago
JSON representation
create an environment with docker and django + virtualenv
- Host: GitHub
- URL: https://github.com/hashdefault/docker-django
- Owner: hashdefault
- License: mit
- Created: 2022-10-22T21:48:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T18:21:20.000Z (over 1 year ago)
- Last Synced: 2025-07-18T02:03:43.721Z (11 months ago)
- Topics: django, docker, environment, python, virtualenv
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Environment Django with Docker + virtualenv
You will need this packages:
- python
- docker
- pip
## Steps
```
$ pip install virtualenv
$ virtualenv django_rest
$ cd django_rest
$ bin/activate
$ pip install django django-admin
$ mkdir src
$ cd src
$ django-admin startproject django_rest .
$ cd ..
$ pip freeze > requirements.txt
$ git clone https://github.com/lugabrielbueno/django-docker .
$ docker-compose up -d
```
Now it must be run on address _**localhost:8000**_