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

darkscience/darkweb

Repository files navigation

darkweb

This used to be the repository holding the DarkScience website, that has been moved to https://git.drk.sc/darkscience/darkscience.net.

At the moment this repository contains a Django application which powers the quotes system for DarkScience. This is a legacy part of the old website still in service.

Development Environment

You can configure a development environment with the following:

NOTE: These steps assume you have Python along with pipenv installed.

$ pipenv install --dev
# configure URL to DB (can be sqlite locally)
$ export DATABASE_URL="sqlite:///$(pwd)/db.sqlite"
$ pipenv run python manage.py migrate

Running the tests

$ pipenv run python manage.py test

Running the development server

$ pipenv run python manage.py runserver