A static site to provide links to the St Lotus history and content
You will need npm installed.
Run the following to build the files in ./src. This will watch the development files and automatically rebuild when needed.
npm start
To actually build the deployment package:
npm run build
First, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
Add new entries to src/decklists.json for the latest deck (the following regex will be helpful here).
s/(\d+)\t/[\1, "/s/$/"],/
The format for each deck is:
{
"date": "2024-02-03",
"player": "Player Name",
"genre": "Ramp",
"seat": 1,
"wins": 3,
"losses": 4,
"stLotus": 1,
"decklist": [
[
1,
"Black Lotus"
],
[
2,
"Thoughtseize"
],
...
]
}
Once you have that populated, you can run the following to generate the decklists:
npm run build:decklistsThe application is hosted on github so pushing to the gh-pages branch deploys whatever has been built.