<commit_before>Callisto Sample Project
==============================

This project demonstrates example usage of callisto-core. The hope is to encourage forks of callisto-core for domains other than U.S. college campuses.

.. image:: https://img.shields.io/badge/built%20with-Cookiecutter%20Django-ff69b4.svg
     :target: https://github.com/pydanny/cookiecutter-django/
     :alt: Built with Cookiecutter Django


LICENSE: GPLv3

Setting up a development environment
------------

Install pip, virtualenv, and npm if you don't have them already.

Clone this repo.

Make a virtual environment::

    $ mkvirtualenv --python=python3 callisto-sample-project
    
Install npm depenencies::

  $ npm install

Install pip dependencies::

  $ pip install -r requirements/local.txt

Create a database::

  $ createdb callisto-sample-project
  
Run the migrations::

  $ ./manage.py migrate
  
Run your first development server::

  $ npm start



Settings
------------

Moved to settings_.

.. _settings: http://cookiecutter-django.readthedocs.io/en/latest/settings.html
<commit_msg>callisto-core as installed from github release tag is not importable without this hack<commit_after>Callisto Sample Project
==============================

This project demonstrates example usage of callisto-core. The hope is to encourage forks of callisto-core for domains other than U.S. college campuses.

.. image:: https://img.shields.io/badge/built%20with-Cookiecutter%20Django-ff69b4.svg
     :target: https://github.com/pydanny/cookiecutter-django/
     :alt: Built with Cookiecutter Django


LICENSE: GPLv3

Setting up a development environment
------------

Install pip, virtualenv, and npm if you don't have them already.

Clone this repo.

Make a virtual environment::

    $ mkvirtualenv --python=python3 callisto-sample-project
    
Install npm depenencies::

  $ npm install

Install pip dependencies::

  $ pip install -r requirements/local.txt

Make Callisto importable (may need to change the path to your virtual environment)::

  $ touch ~/.virtualenvs/callisto-sample-project/lib/python2.7/site-packages/callisto/__init__.py

Create a database::

  $ createdb callisto-sample-project
  
Run the migrations::

  $ ./manage.py migrate


Run your first development server::

  $ npm start



Settings
------------

Moved to settings_.

.. _settings: http://cookiecutter-django.readthedocs.io/en/latest/settings.html

{'fraction_non_alphanumeric': 0.12608875985068435, 'fraction_numerical': 0.00829531314807134, 'mean_word_length': 3.6206896551724137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6733525', 'n_tokens_mistral': 732, 'n_tokens_neox': 676, 'n_words': 221}