Metadata-Version: 2.1
Name: djang-setup
Version: 0.0.3
Summary: A CLI tool to set up Django projects for you
Home-page: https://github.com/fulanii/djnago_setup
Author: Yassine
Author-email: Yassine <yassine@yassinecodes.dev>
License: MIT
Project-URL: Homepage, https://github.com/fulanii/django_setup
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: astor==0.8.1
Requires-Dist: black==24.10.0
Requires-Dist: click==8.1.8
Requires-Dist: rich==13.9.4
Requires-Dist: django-environ==0.11.2

# Django Setup 
A cli tool to setup django for you


## Features
* install django if not already installed
* creates django project
* creates django app 
* creates settings folder
* creates settings files: `base.py`, `developmemt.py`, `production.py`
* creates `.gitignore`, `.env.dev`, `.env,prod`, and `requirements.txt`
* updates `INSTALLED_APPS`, `DEBUG`, `ALLOWED_HOST` and `BASE_DIR`
* creates `app_name/urls.py`
* add `app_name/urls.py` to `project_name/urls.py` urlpatterns uisng `include()`
* update prod settings in prod file
* update django to use either env.dev or env.prod based on env var

## Usage

1. Set up a virtual environment:
```bash
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
```

2. install the package
```bash
pip install django_setup
```

3. run it
```bash
djan_setup
```
3. follow the prompt
