GithubHelp home page GithubHelp logo

trellixvulnteam / databasesfinal_3cyt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scurlej306/databasesfinal

0.0 0.0 0.0 16.12 MB

License: MIT License

Python 56.55% Java 27.10% CSS 4.01% HTML 12.34%

databasesfinal_3cyt's Introduction

DatabasesFinal

By Alexis Hale and Jacob Curley

Set up database

To set up the database, edit the "Insert.java" file to have DB_URL set to your database's URL, and update the USERNAME and PASSWORD variables to be accurate for your database as well. Also add the mysql-connector jar file to your classpath or project dependencies, or install your own version of mysql connector for JDBC. Update the DRIVER variable in Insert.java if you do the latter.

Run the CreateDatabase.sql statements for your MySQL database.

Compile and run Insert.java either in command line or in your IDE. Make sure the .csv files are in the same directory that the java class file runs in.

The test-sample.sql statements can be run on your database to see some of the things our database can return.

Run front end

First, have python installed. Install Django as well. Create project location in a folder labeled "Dev". Edit settings.py file and make sure engine is set to MySQL, enter name of database, username, and password. Make sure MySQL port setting on this page is 3306. Navigate to folder with manage.py in terminal or virtual environment and run "python manage.py startserver", then "python manage.py makemigrations", then "python manage.py migrate" if no errors arise from the previous command. Now go to a browser and put "localhost:8000" as the URL and hit enter. Be sure it is accessing port 8000, not 8080. Now naviagte through the website in your browser as you would any other website.

Watch our Video Walkthrough

https://youtu.be/SII2l6kNQKw

databasesfinal_3cyt's People

Contributors

scurlej306 avatar xixi743 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.