Giter Club home page Giter Club logo

mathgenius's Introduction

MathGenius

Annotate to educate.

Demo here

Setting up

virtualenv

Install the latest version of virtualenv. You can get it from here: https://pypi.python.org/pypi/virtualenv

Clone the repo (or pull if haven't pulled after the django app was introduced.) We assume you've cloned it to a folder named $MATHGENIUS_HOME. Navigate to $MATHGENIUS_HOME and create a new virtual environment genius_env.

$> cd /path/to/$MATHGENIUS_HOME
$> virtualenv genius_env

Activate the environment:

$> source genius_env/bin/activate

You should see (genius_env) prepended to your prompt, indicating the environment has been activated. To test that you properly isolated your python environment, try pip freeze. It should only show 2 or 3 python packages that are installed installed by default, but at this point it should not show django.

Just for reference: You can type deactivate from anywhere to deactivate the environment.

Install dependencies

Navigate to $MATHGENIUS_HOME and install the required packages from requirements.txt

$> pip install -r requirements.txt

Set up database and initial migration

Navigate to the mathgenius directory where manage.py resides, and run the syncdb command:

$> python manage.py syncdb

It will prompt you to set up a root username and password. Comply.

We use south to handle databse migrations so that models can be easily changed. We need to set up the initial migration first:

$> python manage.py schemamigration --initial main_app
$> python manage.py migrate

The development server

The development server can be run with

$> python manage.py runserver_plus

mathgenius's People

Contributors

wetmore avatar deepanjanroy avatar samijaber avatar

Stargazers

Michael Recachinas avatar Justin Domingue avatar  avatar Zachary Elliott avatar  avatar dellsystem avatar

Watchers

dellsystem avatar  avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.