DjangoInitiator is a command-line tool that simplifies the process of creating a new Django project. It guides you through setting up your project's directory, creating a virtual environment, installing Django and additional dependencies, and generating a requirements.txt file. This makes it easy to start new Django projects without the hassle of manually setting up the environment.
- Create a new Django project with ease.
- Set the project directory, project name, and virtual environment name.
- Install Django and additional Python packages.
- Generate a requirements.txt file for your project.
- Utilize an existing .gitignore file for your project.
- Python
- pip (Python package manager)
-
Clone the repository or download the source code.
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the Django Initiator:
python -m django_initiator.cli
- Operating System: DjangoInitiator has been primarily tested on Windows. While it should work on other platforms, it hasn't been thoroughly tested on macOS or Linux. Users on these platforms are encouraged to provide feedback and report any issues encountered.
Follow the on-screen prompts to create a new Django project with the desired options.
I have exciting plans to enhance Django Initiator in the future:
-
Executable File (.exe): Streamline the process by creating an executable file for direct tool execution.
-
Specify Django apps: Allow users to customize their project by specifying which Django apps to include during project creation.
-
Git Integration: Explore adding Git repository initialization and first commit functionality for streamlined version control setup.
-
Database Client Selection: Offer users the choice of database clients during project setup.
I'm committed to making DjangoInitiator more powerful and user-friendly. Stay tuned for these exciting updates!
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you'd like to improve this project, please fork the repository and create a pull request.
If you have questions or need assistance, feel free to reach out to me on Twitter and Linkedin.
Enjoy using Django Initiator!