Skip to content

Simple Django scripts useful for bootstraping django applications.

Notifications You must be signed in to change notification settings

smileservices/djangotemplatescripts

Repository files navigation

Django Template Scripts

Simple Django scripts useful for bootstraping django applications.

  • adds django-environ and creates .env file
  • create .gitignore file

Integrate ReactJs

  • sets up ReactJs as a frontend app
  • add babel and webpack configuration files
  • edits package.json for building config types of dev and production
  • set up urls, view, add frontend app to settings.INSTALLED_APPS
  • set up minimal ReactJs app

How to use

  • create virtual env at project root level: "virtualenv venv"
  • activate virtualnenv
  • install packages "pip install -r requirements.txt"
  • run either "python react.py" or "djangotemplate react"
  • the script will ask you for the project name and will create it in your current working directory
  • input the name of the app and wait until the script finish

About

Simple Django scripts useful for bootstraping django applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published