Skip to content

Git-based deploy script for Django apps on WebFaction environments.

Notifications You must be signed in to change notification settings

jourdanrodrigues/bare-django-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bare Django Repository

Veja a versão em português.

Final app structure

. <Your app path>
|-- apache2/
|-- backend/ <Your project path>
|-- backend.git/
|   `-- .git/ <This project as a bare repo>
|-- logs/
|-- env/ <Virtual environment>
|-- redeploy.sh
`-- .env <App environment variables>

How to...

Features

  • Creates a virtual environment for your project on the app root (named env);
  • Rebuilds the virtual environment if the project's Python version changes;
  • Accepts project's dependencies defined in requirements.txt or setup.py;
  • Updates the Apache configuration according to the project;
  • Automatically installs required dependencies, if they don't exist in the server (like virtualenv);
  • Runs custom commands after a successful deployment.

About

Git-based deploy script for Django apps on WebFaction environments.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages