This is a deck building app for Star Wars: The Card Game. This project is inspired by (but not a fork of) the Alciende-created deck building sites (netrunnerdb.com, arkhamdb.com, ringsdb.com, etc). This was lacking for the Star Wars game so I wanted to make one to help people get into this great game.
- For local deployment
- Ruby 3.2.2
- Rails 7
- Postgres 16
- Node.js 20
- For container deployment
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/kphurley/swlcgdb.git swlcgdb
- Change directory:
cd swlcgdb
- Start postgres configure config/database.yml if required. To start a docker instance of postgres run:
./postgres_docker.sh
- Install esbuild:
npx install esbuild
- Update the db schemes:
bin/rails db:migrate
- Seed the db with playing cards from OCTGN:
bin/rails db:seed
- Start the development server:
bin/dev
- Visit
localhost:3000
in your browser
To use swlcgdb in production use the docker-compose.yml
.
Make sure to change the .env
variables to secure your application.
- To start the server:
docker compose up
- To stop the server:
docker compose down
- Feel free to submit issues if you're interested in some functionality this is missing.
- For now, I'm only including support for the official FFG cards released, but the xml source I am using to build the DB (the OCTGN data) has a lot of the custom cards released after the FFG period ended - if folks find this useful and find that certain custom sets are needed, please submit an issue.
If you find this useful and appreciate my efforts, I'd happily accept a tip on my Patreon.