bin | ||
db/migrations | ||
spec | ||
src | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
shard.lock | ||
shard.yml |
DashBot
A good bot, or a collection of plugins for Crirc network client.
Installation
Install postgresql
, crystal
, and crystal-shards
# Clone
git clone https://github.com/Meoowww/DashBot
cd DashBot
# Install the libs
shards install
# Build the project
crystal b -s --release src/DashBot.cr
# Configure the database
psql -U postgres postgres -c "CREATE USER root WITH PASSWORD 'toor' SUPERUSER;"
psql -U postgres postgres -c "CREATE DATABASE dash_bot"
echo "PG_URL=postgres://root:toor@localhost/dash_bot
NETWORK_HOST=chat.freenode.net
NETWORK_PORT=6697
NETWORK_SSL=true
NICKNAME=Dasshyx" > .env
# Update the database
./bin/micrate up
# Run the bot
./DashBot
Usage
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://git.sceptique.eu/Sceptique/DashBot/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request