TODO: Write a description here
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
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it ( https://github.com/Meoowww/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