Online web based ICTC events database. ..
- Clone this repo using
git clone [email protected]:dineshdb/dbms.git
- Update all submodules using
git submodule update --init --recursive
- Build the project using
./gradlew build
. It will build the backend components. - Create database from here
- Run the project using
./gradlew bootRun
. Go to http://localhost:8080 to see the output. - To sync new updates
git pull --recurse-submodules
. However submodules can get out of sync too soon so it is better to pull each submodule individually during development. Don't forget to sync the submodules before release.
Install mysql or mariadb and get into its root shell. Then execute:
mysql> create database dbms_project; -- Create the new database
mysql> create user 'dbms_project'@'localhost' identified by 'ThePassword'; -- Creates the user
mysql> grant all on dbms_project.* to 'dbms_project'@'localhost'; -- Gives all the privileges to the new user on the newly created database
Note: Don't forget to change password in production.