Skip to content

saaspegasus/django-vite-tailwind-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorial

Setting up a development environment

It's recommended to use uv to run the project. Install uv with:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then run the project with:

uv run python manage.py runserver

Alternatiely, you can sync your environment with:

uv sync

And activate the virtual environment with:

source .venv/bin/activate

From there, you can run commands normally:

python manage.py runserver

Front end

The front end files can be found in the assets folder. The front end is built with Vite and Tailwind CSS.

To build the front end, first install the dependencies:

cd assets
npm install

Then run:

npm run watch

This will build the css files and copy them into your Django static files directory at /static/dist/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published