Skip to content

devops-community/django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django

Build and deploy a simple setup for a Django app on devo.ps.

Install

Simply use the link below:

Fork on devo.ps

Once you've forked the repository, open it in devo.ps and you will be prompted for a few settings, including the Git URL for the code of your application.

To deploy your app, you will need to navigate to the tasks page of the repo and run the task manually (click on "play" icon, right of the "Build the Django app" task).

What's in the box?

This setup contains one server (nodes/django.yml) with Nginx, Python, uWSGI (with emperor) and MySQL 5.5 (with a "django" user and a "django" database)

We have included as well a task (tasks/build-django.yml) that:

  1. Clone your django app from GitHub (set to JuhaS/django-sample-app by default).
  2. Install all your application dependencies defined in your requirements.txt file
  3. Run a build script (scripts/install_local_py.sh) that will:
  4. Write the configuration file (to connect it to MySQL)
  5. Sync the database using the manage.py script
  6. Setup the uWSGI application (vassal)

The current repo provides a very simple setup. Hack at will!

Questions?

If you have any question, come ask us on the devo.ps chat or shoot us an email at help@devo.ps (though, you should really just ask us in the chat).

Reference

About

Simple django repository for devo.ps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages