Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

create-djream

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

create-djream

Create a new Django + React project with a single command

unpublished
latest
Source
npmnpm
Version
0.1.0-alpha.11
Version published
Maintainers
1
Created
Source

Djream app

This template provides a minimal set up to get a React and Django project running.

Running it

The React code is built and served by Vite, so you need to run this alongside Django.

To run Django, run the following commands:

cd server
poetry install
poetry run python manage.py migrate
poetry run python manage.py runserver

To run the Vite server, run the following commands:

cd client
npm install
npm run dev

Django is configured (using the DJREAM_VITE_DEVSERVER_URL setting) to make Djream fetch frontend code from the Vite devserver.

In production, you should build the frontend code with npm run build and set the DJREAM_VITE_BUNDLE_DIR to the location of the folder that contains .vite and assets folders that Vite created.

Keywords

react

FAQs

Package last updated on 18 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts