https://github.com/lupino/yuntan-article
The core source of huabot.com
https://github.com/lupino/yuntan-article
haskell microservice microservices
Last synced: 3 months ago
JSON representation
The core source of huabot.com
- Host: GitHub
- URL: https://github.com/lupino/yuntan-article
- Owner: Lupino
- License: bsd-3-clause
- Created: 2017-03-21T04:49:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T02:52:28.000Z (over 4 years ago)
- Last Synced: 2025-01-22T11:48:11.710Z (5 months ago)
- Topics: haskell, microservice, microservices
- Language: Haskell
- Homepage: https://huabot.com
- Size: 456 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Article micro server
This is the core source of huabot.com.
## Build
```bash
git clone https://github.com/Lupino/yuntan-article.git
cd yuntan-article
stack build
stack install
```## Running
First create a mysql database.
```bash
$ mysql -u root
mysql> CREATE DATABASE yuntan_article;
mysql> exit;
```Second update the config.yaml, change the database name to you desire one.
```bash
cp config.sample.yaml config.yaml
vim config.yaml
```Third running.
```bash
yuntan-article -c config.yaml
```## API
See [docs](https://lupino.github.io/yuntan-article/)