A website with databases for two local chess clubs.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
IntelliJ version 2022.1, MySQL. Workbench version 8.0. - You have a
Windows/Linux/Macmachine. State which OS is supported/which is not.
To use this program, follow these steps:
-
You should have two schemas set up in a database. One for the backend and one for the CMS.
- Set up your environmental variables to connect to your database. Do this with both the backend end the CMS.
- To set up your environmental variable, choose "Edit configurations.." under the "Run"-tab.
- JDBC_URL is the JDBC-database link
- JDBC_USER is the user you want to connect the database with
- JDBC_PASSWORD is your user password
- For CMS_PORT choose 8089
- Make a storage account in Azure.
- In your storage account, get your access key, name, and endpoint. These should be matches with the following variable names in evironmental variables:
- AZURE_ACCOUNT_KEY
- AZURE_ACCOUNT_NAME
- AZURE_ENDPOINT
- USER_SERVICE set it up as http://localhost:8080/user/
Use this setup for the CMS:
Use this setup for the Backend:
- JDBC_USER is the user you want to connect the database with
- JDBC_PASSWORD is your user password
- JDBC_URL is the JDBC-database link
To contribute to the project, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b branch_name. - Make your changes and commit them:
git commit -m "commit_message" - Push to the original branch:
git push origin project_name/location - Create the pull request.
Alternatively see the GitHub documentation on Creating a pull request.
Thanks to the following people who have contributed to this project:
If you want to contact me you can reach me at
- silk2918@stud.kea.dk
- andr74h3@stud.kea.dk
- moha3341@stud.kea.dk
- augu5303@stud.kea.dk
- kris135f@stud.kea.dk