'Basic' is a complete package for the advanced setup of the Django-Python framework. Setup of most of the features including and not limited to template tags, Django-admin custom commands, include and templating in Django are covered. Just install this package, run the setup script, and then use it to have your own preconfigured advanced Django project with just a few commands.
Also, add as many apps you want, with no additional configuration to be done. Everything like adding URLs, including that app to INCLUDED_APPS, setting up the basic index page, and many more, is done automatically. Please look at the examples below to get started.
A complete authentication system can be set up with just one command. Login, Logout & Register functionalities are already supported and can be extended to many more.
git clone https://github.com/rudradesai200/Basic.git
cd Basic/
chmod +x setup.sh
chmod +x uninstall.sh
./setup.sh
source ~/.bashrc # OR other default shell
$BASIC_DIR/uninstall.sh
# Restart the terminal to remove the alias and env variables
Go to your Desktop or other directory except the installation one.
basic project <projectname> # it will create a django project with name <projectname>
cd <projectname>
basic app <appname> # it will create an app with the name <appname>
# All the paths, fields and folders will be setup automatically
basic authenitcate # it will create an app named "accounts" which can be used for authentication purposes
# it contains functinalities like login, logout, register
basic project newproject
cd newproject
basic app first
python3 manage.py runserver
basic auth
This command can be used to create a basic authentication app named accounts. It supports login, logout and register functionalities. Other functinalities can be added easily.
That's it, a complete django project will be setup. It includes app and other settings too. Please explore the files created to know more.