Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
# postpost [![Build Status](https://travis-ci.com/PiterPy-Meetup/postpost.svg?branch=master)](https://travis-ci.com/PiterPy-Meetup/postpost)
# postpost [![Build Status](https://travis-ci.com/piterpy-meetup/postpost.svg?branch=develop)](https://travis-ci.com/piterpy-meetup/postpost)

metameta. Service for posting to social media
metameta

## Required
python3.6, redis
Service for posting to various social medias from one place

## Quick Start

### Docker-based setup
Prerequisites: docker-compose, `.env` file in the project root

Specify Docker tag (see [list of tags](https://hub.docker.com/r/piterpy/postpost/tags) on DockerHub):

`export TAG=dev`

Start containers:

`docker-compose up -d`

Create superuser:

`docker-compose exec api pipenv run python postpost/manage.py createsuperuser`

### Without Docker
Prerequisites: Python 3.6, `.env` file in the project root, Redis running on port `6379` and PostgreSQL on port `5432`

`pipenv install`

`export PYTHONPATH=/full/path/postpost`
`export PYTHONPATH=/full/path/to/postpost`

`export DJANGO_SETTINGS_MODULE=main.settings`

Expand All @@ -20,7 +38,9 @@ python3.6, redis

Add basic user

`python manage.py createsuperuser`
`pipenv run python manage.py createsuperuser`

### Usage

Login to [admin interface](http://localhost:8000/admin/oauth2_provider/application/) and create OAuth Application with
these params:
Expand Down