Git Product home page Git Product logo

yesql_app's Introduction

yesql_app

Web Journal Recommender. FA19 CS411 project of group YeSQL

Deployment Instructions

First make sure that you have python3 and pip3 installed.

Next, install virtualenv if you haven't

$ pip3 install virtualenv

In project folder, run

$ virtualenv -p python3 venv

to initialize python virtual environment.

Activate virtual environment with:

$ source ./venv/bin/activate

Install required modules in venv

(venv)$ pip install -r requirements.txt

App is ready to run:

(venv)$ python app.py

Visit http://127.0.0.1:5000 to view it locally.

Unit Testing

Run:

(venv)$ python -m unittest test.mysql

Database Description

Our main database in MySQL is "pj" (short for project). The backup database for "pj" is called "pj_backup". The descriptions of each table in "pj" are below.

Table "jid_name"

Field Type Null Key Default Extra
journal_id int(11) NO PRI NULL auto_increment
journal_name varchar(255) NO NULL

Table "jid_field"

Field Type Null Key Default Extra
journal_id int(11) NO PRI NULL FGN jid_name.journal_id
field varchar(255) NO PRI NULL

Table "jsubj_fd"

Field Type Null Key Default Extra
subject varchar(255) NO PRI
field varchar(255) NO PRI

Table "j_nmfdrk"

Field Type Null Key Default Extra
journal_name varchar(255) NO PRI
field varchar(255) NO PRI
ranking int(11) YES NULL

yesql_app's People

Contributors

keitokuch avatar chenhaozhang avatar

Stargazers

 avatar  avatar  avatar

Watchers

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