Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katerberg/st-lotus
Website for St Lotus Vintage Rotisserie Draft
https://github.com/katerberg/st-lotus
Last synced: 8 days ago
JSON representation
Website for St Lotus Vintage Rotisserie Draft
- Host: GitHub
- URL: https://github.com/katerberg/st-lotus
- Owner: katerberg
- Created: 2020-01-19T15:17:33.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T12:38:26.000Z (3 months ago)
- Last Synced: 2024-10-13T08:09:51.086Z (23 days ago)
- Language: JavaScript
- Size: 63.5 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# St Lotus
A static site to provide links to the St Lotus history and content
## Requirements
You will need `npm` installed.## Starting
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
```## Developing
First, run the development server:
```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### Adding a decklist
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:
```json
{
"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:
```bash
npm run build:decklists
```## Releasing
The application is hosted on [github](http://github.com) so pushing to the `gh-pages` branch deploys whatever has been built.