https://github.com/cjduncana/old-slackwolf-api
A Haskell API to interact with Slackwolf's DB
https://github.com/cjduncana/old-slackwolf-api
docker haskell-api slackwolf-api slackwolf-db werewolf
Last synced: 23 days ago
JSON representation
A Haskell API to interact with Slackwolf's DB
- Host: GitHub
- URL: https://github.com/cjduncana/old-slackwolf-api
- Owner: cjduncana
- License: mit
- Created: 2017-01-25T22:40:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T22:58:19.000Z (over 9 years ago)
- Last Synced: 2025-03-28T18:51:14.865Z (about 1 year ago)
- Topics: docker, haskell-api, slackwolf-api, slackwolf-db, werewolf
- Language: Haskell
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slackwolf API
A Haskell API to interact with Slackwolf's DB.
## Quick Start
To use this code you will need [Docker][docker].
This code has been tested on Docker v1.11.1.
After starting the Docker machine, do the following:
``` bash
$ scripts/docker-init
```
This will upgrade the Docker containers to their latest version, start all the
containers, and log you into the Slackwolf API container.
Once inside, you'll need to install the GHC.
``` bash
$ stack setup
```
Then compile the program using Stack.
``` bash
$ stack build
```
An executable file will already be created ready for you to run.
``` bash
$ stack exec slackwolf-api-exe
```
If you want changes in the code to appear in the server, stop the server and
then do the following:
``` bash
$ stack build
$ stack exec slackwolf-api-exe
```
[docker]: https://www.docker.com/