skirmish
Version, currently 0.1.37 versions
github.com/spicybackend/skirmish
Enjoy your games and forget the hassle of managing tournaments
Nothing has been indexed for 0.1.3 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
skirmish:
github: spicybackend/skirmish
version: ~> 0.1.3Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.3. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Skirmish
This is a project written using Amber. Enjoy!
Getting Started
These instructions will get a copy of this project running on your machine for development and testing purposes.
Prerequisites
This project requires Crystal
The version of Crystal used is defined inside .crystal-version.
I'd recommend using crenv to install the current version of Crystal, which is as simple as the following.
crenv install
There are also some other dependencies required for some extensions of Crystal and Amber, as well as PostgresQL.
sudo apt install -y postgresql libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev libevent-dev libsqlite3-dev
Postgres
Unless you've used Postgres before, or know your way around configuring it already, you'll probably want to follow this quick guide to setting up users for development.
# start a session as the postgres user
sudo su - postgres
# create a user named skirmish_development
createuser skirmish --pwprompt
# exit the session as postgres
exit
To change the authentication with postgres to use a simple password 'trust' authentication method, we'll need to edit the pg_hba.conf file.
sudo vim /etc/postgresql/9.5/main/pg_hba.conf
Replace md5 with trust on the lines for local connections
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
And finally, ensure the settings for postgres have been applied by restarting the service
sudo service postgresql restart
Development
To start your Amber server:
shards install # install dependencies
shards build # build executable binaries
bin/amber db create migrate # create the database and bring it up to speed
bin/amber db seed # optionally seed the database with some mock data
bin/amber watch # start the server and watch for file changes
Now you can visit http://localhost:3000/ from your browser.
Tests
To run the test suite:
crystal spec
Contributing
- Fork it
- 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
Contributors
- your-github-user Jordane Lew - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.3- Tagged
- Jan 18, 2024
- Commit
8e1ebfc2bdb9- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/spicybackend/skirmish
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 7