Skip to content

dgorczyca/demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slackbot API

Start in docker

In order to get the API and database up and running the Java image needs to be build first.

  1. Start with cloning this repo
  2. Setup the remaining folders
    • run ./setup
  3. To build an image you will need a docker running on your machine.
  4. Once docker is running we can run command to create an image (image name will be slackbot/volunteering)
    • ./mvnw install dockerfile:build
  5. Add BOT id environment variable and run docker-compose up (can be done in one line like below)
    • HUBOT_SLACK_TOKEN=xoxb-261235603910-x6RKm1qL4nppolGIZStlnKo1 docker-compose up
  6. Now you should be able to access database on port 3005 and API on port 8080

References

About

3 Tier Application Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 36.7%
  • Java 35.9%
  • Batchfile 27.4%