Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osantana/quickstartup-template
Django Boilerplate Template for SaaS applications
https://github.com/osantana/quickstartup-template
bootstrap django entrepreneurship heroku postgresql project python python-3 startup template
Last synced: 3 months ago
JSON representation
Django Boilerplate Template for SaaS applications
- Host: GitHub
- URL: https://github.com/osantana/quickstartup-template
- Owner: osantana
- Archived: true
- Created: 2015-06-10T03:24:31.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T09:50:39.000Z (7 months ago)
- Last Synced: 2024-05-01T23:56:07.015Z (6 months ago)
- Topics: bootstrap, django, entrepreneurship, heroku, postgresql, project, python, python-3, startup, template
- Language: Python
- Size: 1.22 MB
- Stars: 45
- Watchers: 7
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred-awesome - quickstartup-template - Django Boilerplate Template for SaaS applications (Python)
README
# Quickstartup
## Requirements
- Python 3.7 or newer
- pip### Recommended
- PostgreSQL 9.3 or newer (installed and running at localhost)
## Starting a new project
```bash
$ cd directory/of/PROJECT
$ virtualenv --no-site-packages PROJECT
$ pip3 install django
$ django-admin.py startproject --template=https://github.com/osantana/quickstartup-template/archive/master.zip PROJECT
```## Database configuration
* Create a role with permissions to create databases on your local PostgreSQL
* Create a database to use during your development## Basic configuration
```bash
# PROJECT/.env
DEBUG=True
LOG_LEVEL=DEBUG
PROJECT_DOMAIN=localhost:8000
SECRET_KEY=SUPER-SEKRET
# Put your postgresql credentials and database below
DATABASE_URL=postgresql://PROJECT:PROJECT@localhost/PROJECT
EMAIL_URL=file:///tmp/email-messages
```## Basic installation
```bash
$ pip install -r requirements-local.txt
$ cd PROJECT
$ chmod +x manage.py
$ ./manage.py migrate
``````python
# PROJECT/settings.py# EDIT and change the following settings:
PROJECT_NAME="My Personal Project"
PROJECT_CONTACT="contact@personal_project.com"
```## Running
```bash
$ ./manage.py runserver
```## It Worked!
http://localhost:8000/