/wordscheme

A platform for sharing and collaborating written content. Site is purely for demo purposes right now.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

WordScheme

Purpose

WordScheme is a platform for sharing written content. It's designed to help writers of all kinds collaborate and critique each other's work. It can also be used by editors to review work by large groups of people before publication.

Requirements

System

  1. Python 2.7
  2. python-dev
  3. postgresql-9.3
  4. postgresql-server-dev-9.3
  5. python-pip
  6. git (optional)

Python libs

(pip install)

  1. django
  2. django-extensions
  3. django-filter
  4. djangorestframework
  5. psycopg2

Installation

Very basic steps to get up and running. This is not a Django security guide.

$ sudo -u postgres psql postgres -h localhost

postgres=# create database wordscheme;
postgres=# create user wsdb with password '<PASSWORD>' login;
postgres=# grant all on database wordscheme to wsdb;
postgres=# \q

In the app root dir:

$ echo YOUR_DJANGO_SECRET_KEY > secret_key.txt
$ echo YOUR_DB_PASSWORD > dbpass.txt

If all goes well, this will get you running with the Django development server. Webserver configuration is beyond the scope of this document.

$ ./manage.py migrate
$ ./manage.py runserver <HOST:[PORT]>