This is my submission for the Advanced Database course (CSCI 513) at the University of North Dakota. The project requirements can be found at http://wenchen.cs.und.edu/course/513/2/1.html.
- Clone the repository.
git clone https://github.com/KeltonKarboviak/CSci513_1.git
- Create a .env file for the Oracle DB credentials and the admin password. An example of the environment keys can be found in .env.example.
cp .env.example .env
cp java.env.example java.env
- Download the Open Iconic icon set into the project root.
wget -O open-iconic.zip http://github.com/iconic/open-iconic/archive/master.zip
unzip open-iconic.zip
rm open-iconic.zip
- Download a local version of jQuery. This is used as a fallback.
mkdir js/vendor
wget -O js/vendor/jquery-3.2.1.min.js https://code.jquery.com/jquery-3.2.1.min.js
- Create python virtual environment & install dependencies. This is assuming you already have
pip
installed.
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
Note: the virtualenv can be deactivated simply by running the below
deactivate
- Compile java files.
javac cgi-bin/*.java
- Update file permissions.
chmod -R 755 cgi-bin