Giter Site home page Giter Site logo

uclcomputerscience / 103p_2018_team25 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 459 KB

IXN Matching System Web Application

Home Page: https://ixn-matching-system.azurewebsites.net/

Python 8.03% HTML 32.52% Shell 0.15% CSS 59.30%
django-framework webapp python html

103p_2018_team25's Introduction

IXN Matching Application

Applied Software Development application by team 25. The purpose of the project is to match students and their interests to potential client projects. This file describes the setup required for a local development server, and should not be used to deploy to a server.

Development Setup

  1. Clone this repository with: git clone [email protected]:UCLComputerScience/103P_2018_team25.git
  2. Install prerequisites
  3. Follow the MySQL database setup
  4. Follow the environment variables setup
  5. Make the relevant migrations with: python3 manage.py makemigrations
  6. Apply the relevant migrations with: python3 manage.py migrate
  7. Collect static files with : python3 manage.py collectstatic
  8. Run the Django server with: python3 manage.py runserver
  9. Load the site at: 127.0.0.1:8000
  10. Create a superuser to access admin page at 127.0.0.1:8000/admin

Prerequisites

Django 1.11.10
MySQL Server
mysqlclient 1.3.12 (Python module)
requests (Python module)
python-decouple (Python module)
django-tables2 (Python module)
tablib 0.11.4 (Python module)

MySQL Database Setup

NAME: matching_db (create an empty database)
USER: matching_db_user (create this user and grant all privileges)
PASSWORD: matching_db_password

Environment Variables

These variables will need to be placed in a .env file in the local repository

DEBUG=True
SECRET_KEY=(Generate a Django secret key)
DATABASE_NAME=matching_db
DATABASE_USER=matching_db_user
DATABASE_PASSWORD=matching_db_password
DATABASE_HOST=localhost
DATABASE_PORT=0
ALLOWED_HOSTS=.127.0.0.1
SECURE_SSL_REDIRECT=False
CSRF_COOKIE_SECURE=False
SESSION_COOKIE_SECURE=False
X_FRAME_OPTIONS=DENY
SECURE_BROWSER_XSS_FILTER=False
UCL_API_CLIENT_ID=(Sign up to UCL API for these)
UCL_API_CLIENT_SECRET=(Sign up to UCL API for these)

103p_2018_team25's People

Contributors

harrythomas17 avatar

Watchers

James Cloos avatar  avatar

103p_2018_team25's Issues

Matching Algorithm Edge Cases

Need to check how the algorithm will react when too many or too few projects are supplied when matching with the students. Dean informed me it is okay to simply output any projects or students that have not been matched into another column of the output CSV. Also, what will happen if one of the tags a student has selected is not available in any of the projects.

Custom Views Missing

The custom views to upload data will show at index/ but not at index/matchingsystem. May need to override other HTML forms.

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.