Skip to content

A repository for transforming response data fromat from open-digger

Notifications You must be signed in to change notification settings

zhicheng-ning/od-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OD-API

A repository for transforming response data format from open-digger

feature:

  • transforming response data format from open-digger
  • cron job for importing data to database

API Documentation

Contributing

  1. git clone https://github.com/X-lab2017/od-api.git
  2. cd od-api
  3. edit application.yml change spring.profile.active=dev
  4. config your own config, like redis config , github token
  5. mvn package
  6. java -jar target/od-api-0.0.1-SNAPSHOT.jar

Deploy

Linux

nohup java -jar od-api-0.0.1-SNAPSHOT.jar > console.log 2>&1 &

Docker

1.docker build -t {your-docker-user-name}/od-api:{custom_version} .
2.docker push {your-docker-user-name}/od-api:{custom_version}
3.docker pull {your-docker-user-name}/od-api:{custom_version}
4.docker run -d -p 8081:8080 --restart=always --name od-api {your-docker-user-name}/od-api:{custom_version}

About

A repository for transforming response data fromat from open-digger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Dockerfile 1.4%