Git Product home page Git Product logo

learningequality.org's Introduction

LE Site

This is the code for Learning Equality's homepage: https://learningequality.org

Short URL for the site is http://leq.ngo

Ping @carinediaz to review content changes and @khangmach to review design changes.

Environment Setup

  1. Install requirements:

  2. Get the codebase: git clone [email protected]:fle-internal/fle-home.git

  3. Make a virtualenv to install dependencies:

    • cd <dir_name>
    • mkvirtualenv <desired_virtualenv_name>
    • *Linux users: To get the mkvirtualenv command to work, you may have to add: source /usr/local/bin/virtualenvwrapper.sh to your .bashrc file (and restart bash). You may also have to run: sudo apt-get install python-dev in order to be able to use pip inside the virtualenv.
  4. Install the dependencies listed in requirements.txt: pip install -r requirements.txt

    • *Windows users: You may run into an error "Unable to find vcvarsall.bat" when trying to install Pillow. If this occurs, delete the Pillow requirement from requirements.txt and run easy_install pillow after all other requirements have installed.
  5. Create a local_settings.py file as a sibling to the settings.py file. Inside, set DEBUG = True (so static files will load in dev mode).

  6. Set up the database: python manage.py syncdb --migrate

  7. Run the server: python manage.py runserver

Final notes:

  • When you're done, you can cancel the virutalenv with the command: deactivate
  • The map requires certain data files to use, and you will get an error if you try and view it at /map/ because they haven't been included in the repo.
  • The blog won't work until you add at least one post to it. (needs fixing up...)

Dev

  • Check out the Issues page for known issues.
  • Use the Wiki for style guide references. If there are none there, it means Dylan was a little overzealous.

learningequality.org's People

Contributors

dylanjbarth avatar 66eli77 avatar jamalex avatar jtamiace avatar whitzhu avatar khangmach avatar gmindmint avatar aronasorman avatar klw004 avatar mcgallaspy avatar indirectlylit avatar e2vu avatar rtibbles avatar benjaoming avatar ivanistheone avatar alexkchan avatar jelith avatar ralphiee22 avatar

Watchers

James Cloos avatar Radina Matic 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.