Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (23 loc) · 968 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 968 Bytes

postpost Build Status

metameta. Service for posting to social media

Required

python3.6, redis

Quick Start

pipenv install

export PYTHONPATH=/full/path/postpost

Copy environment variables: cp .env.template .env

Add values to the variables in .env, if you have any, like so: VAR_NAME=6666aaaa

pipenv run python manage.py migrate

pipenv run python manage.py runserver

pipenv run celery -A main worker -B

Add basic user

python manage.py createsuperuser

Login to admin interface and create OAuth Application with these params:

  • User: 1
  • Client type: Public
  • Grant type: Resource owner password based
  • Name: e.g. frontend

Congrats! Now, there are your swagger and redoc