Coder Social home page Coder Social logo

qcumber-frontend's Introduction

Qcumber Frontend

Note: If you're looking for the easy to use course catalog for Queen's University, you came close! This is the code for the frontend interface that powers it. You'll want to head to https://qcumber.ca for the end user site :).

This is a simple flask application which talks to Elasticsearch as a data store, and consumes the data found in qcumber-data.

Setup

Currently, the frontend is in a bit of a messy state, as it was thrown together over the course of a week to get it ready in time for course selection.

Clone this repository

$ git clone https://github.com/Queens-Hacks/qcumber-frontend

Create a virtualenv and install the requirements from the requirements.txt file into it.

$ virtualenv env
$ . env/bin/activate
$ pip install -r requirements.txt

Install elasticsearch and get it running. Currently the code only supports the default ports, but there will be options to configure that soon.

Clone the data repository into the out directory.

$ git clone https://github.com/Queens-Hacks/qcumber-data out

Run the fill.py script to load the data into the elasticsearch instance.

$ ./fill.py

Now the debug server can be run by running main.py

$ ./main.py

qcumber-frontend's People

Contributors

mystor avatar pr0ps avatar graham42 avatar

Stargazers

Max Bittker avatar Christina Chan avatar  avatar phil avatar

Watchers

phil avatar  avatar James Cloos avatar  avatar  avatar Max Bittker avatar

qcumber-frontend's Issues

Minify JS/CSS

Currently we don't minify JS and CSS before they're sent to the client. This should probably happen.

Classfind links

cross post from ChrisCooper/QcumberD#98

They requested that we have links to classfind.com to help people find classes. Marking this as an enhancement because it would be a good additional feature.

Cache-bust Assets

Currently, if an asset updates, it is cached for basically forever. This is good for normal operation, but bad for upgrades. We should cache-bust the assets with a hash such that when the code updates, clients get the new code.

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.