Skip to content

khzhu/webapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

1.set up database

mysql> create database cbio_data

2.grant permissions to a user

mysql> grant all privileges on cbio_data.* to 'cbio_user'@'localhost' identified by 'somepassword'

3.build from source

mvn -X clean compile install

4.deploy to the site

mkdir -p /usr/local/tomcat/webapps/web
cd /usr/local/tomcat/webapps/web
cp ~/myspace/webapi/target/wabapi-0.0.1-SNAPSHOT.war ./
mv webapi-0.0.1-SNAPSHOT.war api.war

5.start tomcat

/usr/local/tomocat/bin/catalina.sh start

6.view swagger documents

http://localhost:8081/web/swagger-ui.html

7.query image id

curl http://localhost:8081/web/api/fetch-image-ids/CHX-008
[67]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages