Skip to content

NobleSalt/my-vite-django-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

my-vite-django-template

A small template for vite and django

How to use this setup

For linux;

for the frontend;

  1. run git clone git@github.com:NobleSalt/my-vite-django-template.git
  2. run cd frontend
  3. run npm i && npm run dev

Inside the frontend folder Do this to build the project and attach it to your django backend automatically from your frontend folder

  1. run sudo chmod +x build && ./build

for the backend;

  1. run cd backend

create a virtualenv, activate and install the requirements for the project

  1. run python3 -m venv env && source env/bin/activate && pip install -r requirements.txt

  2. run python manage.py runserver

  3. open the link (localhost:8000) on your browser

About

A small template for vite and django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages