Added new readme stub
Update readme.md
This commit is contained in:
37
readme.md
37
readme.md
@@ -1,3 +1,40 @@
|
|||||||
# Website - NibblePoker.lu
|
# Website - NibblePoker.lu
|
||||||
Public repository containing the source code for the *nibblepoker.lu* & *nibblepoker.com* websites.
|
Public repository containing the source code for the *nibblepoker.lu* & *nibblepoker.com* websites.
|
||||||
|
|
||||||
|
|
||||||
|
## Features
|
||||||
|
TODO
|
||||||
|
|
||||||
|
|
||||||
|
## Related Projects
|
||||||
|
TODO
|
||||||
|
|
||||||
|
|
||||||
|
## Local Setup
|
||||||
|
Follow these steps to setup a local version of this website:
|
||||||
|
1. Install Python 3.13
|
||||||
|
2. Install Node JS v?
|
||||||
|
3. Install Python Modules \
|
||||||
|
`pip install --upgrade -r requirements.txt`
|
||||||
|
4. Install NPM modules \
|
||||||
|
`.\scripts\nodejs-setup.cmd`
|
||||||
|
5. Compile the `.mjs` files into `.js` and `.min.js` \
|
||||||
|
`.\scripts\compile-js-site.cmd`
|
||||||
|
6. [Install static files]
|
||||||
|
7. Setup environment variables:
|
||||||
|
```batch
|
||||||
|
:: Batch
|
||||||
|
set NP_HTML_POST_PROCESS=MINIFY
|
||||||
|
set NP_FLASK_WAITRESS=1
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
# Bash
|
||||||
|
NP_HTML_POST_PROCESS=MINIFY
|
||||||
|
NP_FLASK_WAITRESS=1
|
||||||
|
```
|
||||||
|
8. Run [app.py](app.py) \
|
||||||
|
`python ./app.py`
|
||||||
|
|
||||||
|
|
||||||
|
## Licenses
|
||||||
|
TODO
|
||||||
|
Reference in New Issue
Block a user