An open API service indexing awesome lists of open source software.

https://github.com/bin-pdt/webapp_django_starter

A BOILERPLATE FOR DJANGO PROJECT
https://github.com/bin-pdt/webapp_django_starter

alpinejs django django-allauth htmx python social-login web-development

Last synced: about 1 month ago
JSON representation

A BOILERPLATE FOR DJANGO PROJECT

Awesome Lists containing this project

README

        

**1. PROJECT**

```
git clone https://github.com/BIN-PDT/WEBAPP_DJANGO_STARTER.git && rm -rf WEBAPP_DJANGO_STARTER/.git
```

_For privacy reasons, replace the sensitive information in this project with your own._

- _Register OAuth Application with each Social Provider to obtain `CLIENT_ID` & `CLIENT_SECRET`_.

- _Generate `SECRET_KEY`_.

```
python manage.py shell
```

```python
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
exit()
```

**2. VIRTUAL ENVIRONMENT**

```
python -m venv .venv
```

```
.venv\Scripts\activate.bat
```

**3. DEPENDENCY**

```
python.exe -m pip install --upgrade pip
```

```
pip install -r requirements.txt
```

**4. DATABASE**

```
python manage.py migrate
```

**5. RUN APPLICATION**

```
python manage.py runserver
```