Skip to content
forked from shivansh/CRAM

All code written during the 24 hour hackathon @ Google Devfest '16 -- Winning entry

Notifications You must be signed in to change notification settings

abhiagwl/DevFest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRAM - Google DevFest '16

Team members

The Idea

C.R.A.M

Dependencies

Tools used

Executing the scripts

The following commands should be run from /cram

Functional tests

python3 manage.py test functional_tests

Unit tests

python3 manage.py test users

Running the server

There might possibly be some unapplied migrations when you run the app for the first time which may cause the app to not work properly. Use the following command to apply them.

python3 manage.py migrate

Finally, run the server.

python3 manage.py runserver

The website is served at localhost:8000

Cleaning up the database

Update: This is no longer required, recommendations are now generated on the fly.

rm db.sqlite3
python3 manage.py migrate --noinput

Directory Structure

├── data_mining
│   └── ..............................:: Data scraping scripts
├── README.md
└── cram
    ├── db.sqlite3 ...................:: Database
    ├── functional_tests
    │   └── ..........................:: Functional testing scripts
    ├── users
    │   ├── admin.py
    │   ├── csv
    │   │   └── ......................:: CSV files
    │   ├── migrations
    │   ├── kball.py
    │   ├── models.py
    │   ├── scrape_user.py
    │   ├── static ...................:: Styling files
    │   │   └── base.css
    │   ├── templates
    │   │   └── home.html
    │   ├── tests.py .................:: Unit testing script
    │   └── views.py
    ├── manage.py
    └── cram
        ├── __init__.py
        ├── settings.py
        ├── urls.py
        └── wsgi.py

About

All code written during the 24 hour hackathon @ Google Devfest '16 -- Winning entry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.3%
  • Jupyter Notebook 27.6%
  • HTML 11.4%
  • CSS 1.7%