This project uses React.js for the frontend and Flask for the backend.
- Git
- Node.js (which comes with npm)
- Python 3 (which comes with pip, starting with Python 3.4 and newer)
Optionally, you may choose to fork the repository if you want to work on your own features independently before merging them into the main project.
Clone the repository:
git clone https://github.com/GeoffreyFClark/Chess-Opening-Database-Project
or if forked: git clone https://github.com/YourGitHubUsername/Chess-Opening-Database-Project
cd Chess-Opening-Database-Project
cd python-backend
python -m venv venv
venv\Scripts\activate
(On Mac: source venv/bin/activate
)
pip install -r requirements.txt
cd ../react-frontend
npm install
Navigate to https://www.oracle.com/database/technologies/instant-client.html and install Oracle client
Add Oracle client path as a system variable within environment variables.
Important: Name this system variable ORACLE_HOME.
Windows: System->About->Advanced system settings->Environment Variables->Add New in System Variables
NOTE that usage of OracleDB via a UF account requires an active Gatorlink VPN connection.
Navigate to the flask_backend directory and run python server.py
In a new terminal, navigate to the react_frontend directory and run npm run dev
View at the frontend's localhost:port which will then be linked in the terminal.