Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
/ ductus2 Public archive

A short-lived attempt to create a simpler Wikiotics site (see docs/MVP.rst)

License

Notifications You must be signed in to change notification settings

wikiotics/ductus2

Repository files navigation

Requirements:

  • Python >= 3.2.
  • Postgresql (9.x?)

Bootstrap a virtualenv:

$ pyvenv-3.3 venv-ductus2
$ source venv-ductus2/bin/activate
$ wget http://python-distribute.org/distribute_setup.py
$ python3 distribute_setup.py
$ venv-ductus2/local/bin/easy_install pip

Note for Ubuntu (Debian?) systems: if you get errors complaining about a missing Python.h:

$ sudo apt-get install python3.3-dev

Install the relevant dependencies:

$ venv-ductus2/local/bin/pip-3.3 install -r requirements.txt

Create a database in postgresql, name it whatever you want. Here is some help for Ubuntu systems. Refer to the PostgreSQL documentation for other systems.

Create a local settings file:

$ touch ductus2_local_settings.py

and update it to point to the database you just created:

DATABASES = {
 'default': {
     'ENGINE': 'django.db.backends.postgresql_psycopg2',
     'NAME': '',        # the DB name to use
     'USER': '',        # postgresql username
     'PASSWORD': '',    # postgresql password
     'HOST': '',        # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
     'PORT': '',        # Set to empty string for default.
  }
}

Run the development server:

$ ./manage.py runserver

If everything worked, pointing your browser at http://localhost:8000/ should show you the ductus landing page.

About

A short-lived attempt to create a simpler Wikiotics site (see docs/MVP.rst)

Resources

License

Stars

Watchers

Forks