bin | ||
db/migrations | ||
spec | ||
src | ||
.gitignore | ||
.travis.yml | ||
config.json | ||
LICENSE | ||
Makefile | ||
README.md | ||
shard.lock | ||
shard.yml |
DashBot
TODO: Write a description here
Installation
Install postgresql
, crystal
, and crystal-shards
# Clone
git clone https://github.com/Meoowww/DashBot
cd DashBot
# Install the libs
crystal deps 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" > .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://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