Skip to content

sascharau/django_ownership_employee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example App with auth, owners, employees, permissions and api's. Try the demo!

Install

git clone https://github.com/sascharau/django_ownership_employee.git
cd django_ownership_employee
virtualenv -p python3.7 venv
source venv/bin/activate
pip install -r requirements.txt
cd ownership_employee

now create ".env" file: (django_ownership_employee/ownership_employee/.env)

SECRET_KEY="fsdfsdfsdf"
ALLOWED_HOSTS=['*']
DEBUG=True
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.email.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'password'
ADMINS=[('admin', [email protected]')]
DJANGO_SETTINGS_MODULE=conf.settings

Start Django

./manage.py migrate
./manage.py runserver

Create 100 User

./manage.py user_generator

Owner login: [email protected] and try3000

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published