57 lines
2.9 KiB
Markdown
57 lines
2.9 KiB
Markdown
# Tunic Tracker Redux
|
|
```
|
|
_________ ___ ___ ________ ___ ________
|
|
|\___ ___\\ \|\ \|\ ___ \|\ \|\ ____\
|
|
\|___ \ \_\ \ \\\ \ \ \\ \ \ \ \ \ \___|
|
|
\ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \
|
|
\ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \____
|
|
\ \__\ \ \_______\ \__\\ \__\ \__\ \_______\
|
|
\|__| \|_______|\|__| \|__|\|__|\|_______|
|
|
_________ ________ ________ ________ ________ ___ _________ ___ ________ ________
|
|
|\___ ___\\ __ \|\ __ \|\ ___ \|\ ____\|\ \|\___ ___\\ \|\ __ \|\ ___ \
|
|
\|___ \ \_\ \ \|\ \ \ \|\ \ \ \\ \ \ \ \___|\ \ \|___ \ \_\ \ \ \ \|\ \ \ \\ \ \
|
|
\ \ \ \ \ _ _\ \ __ \ \ \\ \ \ \_____ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \
|
|
\ \ \ \ \ \\ \\ \ \ \ \ \ \\ \ \|____|\ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \
|
|
\ \__\ \ \__\\ _\\ \__\ \__\ \__\\ \__\____\_\ \ \__\ \ \__\ \ \__\ \_______\ \__\\ \__\
|
|
\|__| \|__|\|__|\|__|\|__|\|__| \|__|\_________\|__| \|__| \|__|\|_______|\|__| \|__|
|
|
\|_________|
|
|
_________ ________ ________ ________ ___ __ _______ ________
|
|
|\___ ___\\ __ \|\ __ \|\ ____\|\ \|\ \ |\ ___ \ |\ __ \
|
|
\|___ \ \_\ \ \|\ \ \ \|\ \ \ \___|\ \ \/ /|\ \ __/|\ \ \|\ \
|
|
\ \ \ \ \ _ _\ \ __ \ \ \ \ \ ___ \ \ \_|/_\ \ _ _\
|
|
\ \ \ \ \ \\ \\ \ \ \ \ \ \____\ \ \\ \ \ \ \_|\ \ \ \\ \|
|
|
\ \__\ \ \__\\ _\\ \__\ \__\ \_______\ \__\\ \__\ \_______\ \__\\ _\
|
|
\|__| \|__|\|__|\|__|\|__|\|_______|\|__| \|__|\|_______|\|__|\|__|
|
|
```
|
|
|
|
I think we can do better with Tunic tracking so I'm gonna make something and if it works out that's awesome but for now I just wanna make it.
|
|
|
|
## Requirements
|
|
|
|
You'll need `python` and `npm` to run this for now, so make sure you have those installed.
|
|
|
|
## Setup
|
|
|
|
Install necessary modules with:
|
|
|
|
`pip install -r requirements.txt`
|
|
|
|
Note: Consider making a venv for this - `python -m venv "./.venv"`
|
|
|
|
Install the node modules with:
|
|
|
|
`npm install`
|
|
|
|
## Usage
|
|
|
|
Because of the way tailwindcss is used in development, you'll need to run two separate commands.
|
|
|
|
One for tailwindcss:
|
|
|
|
`python manage.py tailwind start`
|
|
|
|
One for the django server:
|
|
|
|
`python manage.py runserver 8080`
|
|
|
|
You should then be able to connect by going to http://localhost:8080 in a browser. |