All Projects → blakevanlan → KingdomCreator

blakevanlan / KingdomCreator

Licence: MIT License
Deck randomizer for Dominion

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
stylus
462 projects
coffeescript
4710 projects
Pug
443 projects

Dominion Randomizer (aka Kingdom Creator)

https://www.dominionrandomizer.com is a kingdom randomizer, or card picker, for Dominion.

Feel free to make any improvements you see fit and send me a pull request!

Development

This is a static site served through GitHub Pages. Check the /docs directory in master to see the source currently being served at http://www.dominionrandomizer.com.

Commands

npm start - Run the development server with hot reloading at localhost:8080

npm run build - Builds the static site and outputs the assets in /docs

npm run serve-static - Serves the build assets from /docs in case you want to check the built version

Docker Container

Dominion Randomizer can also be served from a Docker container with the following commands:

# Build the site
$ npm run build

# Build the Docker image
$ sudo docker build --tag "kingdom_creator:latest" .

# Start a container from the built image. This will be published on local port
# 9999, but that can be changed as needed.
$ sudo docker run \
    --detach \
    --name="kingdom_creator" \
    --publish="9999:80" \
    --volume="$(pwd)/docs://usr/share/nginx/html:ro" \
    "kingdom_creator:latest"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].