Skip to content

Midburn/midburn-profiles-django

Repository files navigation

Tech Profiles REST API

Dev

PostgreSQL

Install postgresql version 12 Make sure you remember your password :-)

Logon into postgres shell (usually psql or postgres)

CREATE DATABASE midburn;
CREATE USER midburn_admin WITH PASSWORD 'midburn_admin';
ALTER ROLE midburn_admin SET client_encoding TO 'utf8';
ALTER ROLE midburn_admin SET default_transaction_isolation TO 'read committed';
ALTER ROLE midburn_admin SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE midburn TO midburn_admin;

Python 3.7

Usage of virtualenv is recommended

pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Or using honcho

honcho start -f profile.dev

Usage

http://localhost:8000/api/auth/login

And then http://localhost:8000/docs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published