项目作者: diegoulloao

项目描述 :
A docker enviroment for your django application.
高级语言: Dockerfile
项目地址: git://github.com/diegoulloao/django-docker-startpoint.git
创建时间: 2019-04-15T18:29:27Z
项目社区:https://github.com/diegoulloao/django-docker-startpoint

开源协议:

下载


Django|Python Enviroment in Docker

  • Repository:
    • A docker enviroment for your django application.
  • Stack: Python, Django.
  • Services: Django server.
  • Year: 2020.

This repository provides a django development enviroment.

Step 1. Clone the repository.

Open a Terminal, browse your projects location and run:

  1. git clone https://github.com/diegoulloao/django-docker-startpoint.git project-name

Step 2. Create the Django app.

Enter in your project-name folder, then create/copy your Django app in the app directory.

Step 3. Build the dockerfile.

In project-name directory, run:

  1. docker build .
  1. docker-compose build

Step 4. Run the service.

Finally run:

  1. docker-compose up

Open up your browser to http://localhost:8080/ and you should see your django app running as intended.

@diegoulloao · 2020