tunic-tracker-redux/README.md

59 lines
2.9 KiB
Markdown
Raw Normal View History

2024-02-28 12:40:21 -06:00
# Tunic Tracker Redux
```
2024-03-03 15:26:54 -06:00
_________ ___ ___ ________ ___ ________
|\___ ___\\ \|\ \|\ ___ \|\ \|\ ____\
\|___ \ \_\ \ \\\ \ \ \\ \ \ \ \ \ \___|
\ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \
\ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \____
\ \__\ \ \_______\ \__\\ \__\ \__\ \_______\
\|__| \|_______|\|__| \|__|\|__|\|_______|
_________ ________ ________ ________ ________ ___ _________ ___ ________ ________
|\___ ___\\ __ \|\ __ \|\ ___ \|\ ____\|\ \|\___ ___\\ \|\ __ \|\ ___ \
\|___ \ \_\ \ \|\ \ \ \|\ \ \ \\ \ \ \ \___|\ \ \|___ \ \_\ \ \ \ \|\ \ \ \\ \ \
\ \ \ \ \ _ _\ \ __ \ \ \\ \ \ \_____ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \
\ \ \ \ \ \\ \\ \ \ \ \ \ \\ \ \|____|\ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \
\ \__\ \ \__\\ _\\ \__\ \__\ \__\\ \__\____\_\ \ \__\ \ \__\ \ \__\ \_______\ \__\\ \__\
\|__| \|__|\|__|\|__|\|__|\|__| \|__|\_________\|__| \|__| \|__|\|_______|\|__| \|__|
\|_________|
_________ ________ ________ ________ ___ __ _______ ________
|\___ ___\\ __ \|\ __ \|\ ____\|\ \|\ \ |\ ___ \ |\ __ \
\|___ \ \_\ \ \|\ \ \ \|\ \ \ \___|\ \ \/ /|\ \ __/|\ \ \|\ \
\ \ \ \ \ _ _\ \ __ \ \ \ \ \ ___ \ \ \_|/_\ \ _ _\
\ \ \ \ \ \\ \\ \ \ \ \ \ \____\ \ \\ \ \ \ \_|\ \ \ \\ \|
\ \__\ \ \__\\ _\\ \__\ \__\ \_______\ \__\\ \__\ \_______\ \__\\ _\
\|__| \|__|\|__|\|__|\|__|\|_______|\|__| \|__|\|_______|\|__|\|__|
2024-02-28 12:40:21 -06:00
```
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
2024-03-03 15:26:54 -06:00
You'll need `python` and `npm` to use this for now, so make sure you have those installed.
2024-02-28 12:40:21 -06:00
## Setup
Install necessary modules with:
`pip install -r requirements.txt`
Consider making a venv for this.
`python -m venv "./.venv"`
2024-03-03 15:26:54 -06:00
Install the node modules with:
`npm install`
2024-02-28 12:40:21 -06:00
## Usage
2024-03-03 15:26:54 -06:00
Because of the way tailwindcss is used in development, you'll need to run two separate commands.
2024-02-28 12:40:21 -06:00
2024-03-03 15:26:54 -06:00
One for tailwindcss:
`python manage.py tailwind start`
One for the django server:
2024-02-28 12:40:21 -06:00
2024-03-03 15:26:54 -06:00
`python manage.py runserver 8080`
2024-02-28 12:40:21 -06:00
2024-03-03 15:26:54 -06:00
You should then be able to connect by going to http://localhost:8080 in a browser.