dutraleonardo / julius-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Julius_App

Quickstart

Make sure you have pipenv installed. Then install Django in your virtualenv:

pip install django==2.2.11

Clone this repository

git clone https://github.com/dutraleonardo/julius-app.git

To create a new Django project (make sure to change project_name)

django-admin.py startproject -e py,md,yml,ini,example -n Procfile --template python-django-project-template project_name

Install dependence

make

Run project

make up

Stop project

make stop

Create apps for project

make startapp name=<APP_NAME>
mv <APP_NAME> project_name/apps/<APP_NAME>

Install packages

make install package=<PACKAGE_NAME>
make build

Run tests

make test

Run in heroku

heroku login
heroku apps:create <PROJECT_NAME>
heroku config:edit (Add envoriments variables and save)
git push heroku master

A simple user model is defined using email as username. The account manage is made with dj-rest-auth and django-allauth.

About

License:MIT License


Languages

Language:Python 98.4%Language:Makefile 1.1%Language:Dockerfile 0.5%