An open API service indexing awesome lists of open source software.

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

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**_