mobibot/README.md
2023-01-12 00:59:37 -08:00

33 lines
1.2 KiB
Markdown

# mobibot
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.0-blue)](https://kotlinlang.org/)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_mobibot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
[![GitHub CI](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml)
[![CircleCI](https://circleci.com/gh/ethauvin/mobibot/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/mobibot/tree/master)
Some very basic instructions:
```sh
# clone with git or download the ZIP
git clone https://github.com/ethauvin/mobibot.git
cd mobibot
# build with gradle
./gradlew
cd deploy
# configure the properties
vi *.properties *.xml
# help
java -jar mobibot.jar -h
# twitter oauth token request
java -cp mobibot.jar net.thauvin.erik.mobibot.TwitterOAuth <consumerKey> <consumerSecret>
# launch
/usr/bin/nohup java -jar mobibot.jar &
```