Skip to content

tqchu/colphacy

Repository files navigation

For Window

Clone the project

Setup Java SDK

Setup Gradle

Download and install Gradle v7.6.2 (https://gradle.org/next-steps/?version=7.6.2&format=all) Add the bin directory of the installed Gradle to the Path variable of System variables (Environment variables) img_3.png

Setup Postgresql

Run the following script using PSQL

img_1.png

CREATE DATABASE colphacy; 
\c colphacy; 
CREATE USER colphacy WITH PASSWORD 'colphacy'; 
GRANT ALL PRIVILEGES ON DATABASE colphacy TO colphacy; 

GRANT USAGE, CREATE ON SCHEMA public TO colphacy; 
ALTER DEFAULT PRIVILEGES IN SCHEMA public 
GRANT SELECT, INSERT, UPDATE, DELETE ON TABLES TO colphacy; 
ALTER DEFAULT PRIVILEGES IN SCHEMA public 
GRANT USAGE, SELECT ON SEQUENCES TO colphacy;

Run the project

  • Cd to the project directory
  • Enter the command gradle bootRun
  • Navigate to the link Product API to see if it works

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •