Coder Social home page Coder Social logo

fle-home's Introduction

FLE Site

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

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.

fle-home's People

Contributors

dylanjbarth avatar jamalex avatar wangguan59 avatar jtamiace avatar 66eli77 avatar aronasorman avatar mcgallaspy avatar alexkchan avatar jelith avatar

Watchers

James Cloos avatar John Jingchun Zhou 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.