Skip to content

Commit c2a5708

Browse files
Initial commit
0 parents  commit c2a5708

28 files changed

+631
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.pyc
2+
*.DS_Store
3+
*.egg*
4+
/dist/
5+
/.idea
6+
/docs/_build/
7+
/node_modules/
8+
build/
9+
env
10+
/staticfiles/
11+
12+
#src
13+
*.sqlite*
14+
15+
.env

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Change Log
2+
3+
## [1.0.1] 2022-12-21
4+
### Changes
5+
6+
- DOCS Update
7+
- Fix Render Deployment
8+
9+
## [1.0.0] 2022-12-20
10+
### Changes
11+
12+
- Deployment-ready for Render
13+
- `render.yaml`
14+
- Tested for [Django Berry PRO](https://github.com/app-generator/django-admin-berry-pro) `v1.0.0`
15+
16+
## [0.0.1] 2022-11-17
17+
### Initial Release
18+
19+
- Integrate [Django Berry PRO](https://github.com/app-generator/django-admin-berry-pro)

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.9
2+
3+
# set environment variables
4+
ENV PYTHONDONTWRITEBYTECODE 1
5+
ENV PYTHONUNBUFFERED 1
6+
7+
COPY requirements.txt .
8+
# install python dependencies
9+
RUN pip install --upgrade pip
10+
RUN pip install --no-cache-dir -r requirements.txt
11+
12+
COPY . .
13+
14+
# running migrations
15+
RUN python manage.py migrate
16+
17+
# gunicorn
18+
CMD ["gunicorn", "--config", "gunicorn-cfg.py", "core.wsgi"]

LICENSE.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Commercial Projects - EULA
2+
3+
Copyright (c) 2019 - present [AppSeed](http://appseed.us/)
4+
5+
<br />
6+
7+
## Licensing Information
8+
9+
This document explains the usage terms for **open-source** products (apps/tools) developed by **[AppSeed](http://appseed.us/)**. Used terms:
10+
11+
- Solo-Developer: code digital products as freelencer (without being incorporated in a company)
12+
- StartUp - young company founded 12mo (or less) in the past
13+
- Small Company - maximum 3 developers, active for more than 1year
14+
- Company - More than 4 developers and less than 50
15+
- Corporate - More than 50 developers
16+
17+
<br />
18+
19+
## Personal License
20+
21+
> Licensing Information
22+
23+
| Item | - |
24+
| ---------------------------------- | --- |
25+
| Domains | 1 |
26+
| Team Size | **3 developer** |
27+
| [Support](https://appseed.us/support/) & Updates: | 6 months |
28+
| --- | --- |
29+
| Product sale | **YES** |
30+
| Create single personal website/app | **YES** |
31+
| Create single website/app for client | **YES** |
32+
| Remove footer credits | **YES** |
33+
34+
<br />
35+
36+
## StartUp License
37+
38+
> Licensing Information
39+
40+
| Item | - |
41+
| ---------------------------------- | --- |
42+
| Domains | 1 |
43+
| Team Size | **Up to 9 developers** |
44+
| [Support](https://appseed.us/support/) & Updates: | 12 months |
45+
| --- | --- |
46+
| Product sale | **YES** |
47+
| Create single personal website/app | **YES** |
48+
| Create single website/app for client | **YES** |
49+
| Remove footer credits | **YES** |
50+
51+
<br />
52+
53+
## Company License
54+
55+
> Licensing Information
56+
57+
| Item | - |
58+
| ---------------------------------- | --- |
59+
| Team Size | **Unlimited** |
60+
| [Support](https://appseed.us/support/) & Updates: | **Lifetime** |
61+
| --- | --- |
62+
| Product sale | **YES** |
63+
| Create multiple personal websites/apps | **YES** |
64+
| Create multiple websites/apps for clients | **YES** |
65+
| Create SINGLE SaaS application | **YES** |
66+
| Remove footer credits | **YES** |
67+
68+
<br />
69+
70+
---
71+
For more information regarding licensing, please contact the AppSeed Service < *[email protected]* >

README.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# [Django Berry PRO](https://github.com/app-generator/django-berry-dashboard-pro) `Starter`
2+
3+
**Django** starter styled with **Berry Dashboard PRO**, a premium `Boostrap 5` design from [CodedThemes](https://codedthemes.com/?ref=appseed)
4+
The product is designed to deliver the best possible user experience with highly customizable feature-rich pages.
5+
6+
> 👉 **NOTE**: This product `requires a License` in order to access the theme. During the purchase, a
7+
8+
9+
<br />
10+
11+
## Features:
12+
13+
-`Up-to-date Dependencies`
14+
-`Design`: [Django Theme Berry](https://github.com/app-generator/django-admin-berry-pro) - `PRO Version`
15+
-`Sections` covered by the design:
16+
-**Admin section** (reserved for superusers)
17+
-**Authentication**: `Django.contrib.AUTH`, Registration
18+
-**All Pages** available in for ordinary users
19+
-`Deployment-Ready` for Render
20+
- 🚀 [Support](https://appseed.us/support/) via `Email` & `Discord`
21+
22+
<br />
23+
24+
![Berry Bootstrap 5 - Dark-Mode ready, Open-source Template.](https://user-images.githubusercontent.com/51070104/207091062-e805b36c-663a-4a01-acb8-9c55ab914f4f.jpg)
25+
26+
<br />
27+
28+
## Manual Build
29+
30+
> 👉 Download the code
31+
32+
```bash
33+
$ git clone https://github.com/app-generator/django-berry-dashboard-pro.git
34+
$ cd django-berry-dashboard-pro
35+
```
36+
37+
<br />
38+
39+
> Export `GITHUB_TOKEN` in the environment. The value is provided by AppSeed during purchase.
40+
41+
This is required because the project has a private REPO dependency: `github.com/app-generator/priv-django-admin-berry-pro`
42+
43+
```bash
44+
$ export GITHUB_TOKEN='TOKEN_HERE' # for Linux, Mac
45+
$ set GITHUB_TOKEN='TOKEN_HERE' # Windows CMD
46+
$ $env:GITHUB_TOKEN = 'TOKEN_HERE' # Windows powerShell
47+
```
48+
49+
<br />
50+
51+
> 👉 Install modules via `VENV`.
52+
53+
54+
```bash
55+
$ virtualenv env
56+
$ source env/bin/activate
57+
$ pip install -r requirements.txt
58+
```
59+
60+
<br />
61+
62+
> 👉 Edit the `.env` using the template `.env.sample`.
63+
64+
```env
65+
66+
# True for development, False for production
67+
DEBUG=True
68+
69+
```
70+
71+
<br />
72+
73+
> 👉 Set Up Database
74+
75+
```bash
76+
$ python manage.py makemigrations
77+
$ python manage.py migrate
78+
```
79+
80+
<br />
81+
82+
> 👉 Create the Superuser
83+
84+
```bash
85+
$ python manage.py createsuperuser
86+
```
87+
88+
<br />
89+
90+
> 👉 Start the app
91+
92+
```bash
93+
$ python manage.py runserver
94+
```
95+
96+
At this point, the app runs at `http://127.0.0.1:8000/`.
97+
98+
<br />
99+
100+
## Screenshots
101+
102+
![Berry Bootstrap 5 - Sign IN, Open-source Starter by AppSeed.](https://user-images.githubusercontent.com/51070104/207091198-2753246e-3d65-4aac-96de-0598a9a94788.jpg)
103+
104+
<br />
105+
106+
> [Django Admin Berry](https://github.com/app-generator/django-admin-berry) - `Icons` Page
107+
108+
![Berry Bootstrap 5 - UI Icons page, Open-source Starter by AppSeed](https://user-images.githubusercontent.com/51070104/207091655-d5005e08-7ea0-4367-ab3a-2cd16934d2fd.jpg)
109+
110+
<br />
111+
112+
> [Django Admin Berry](https://github.com/app-generator/django-admin-berry) - `Colors` page
113+
114+
![Berry Bootstrap 5 - Colors page, Open-source Starter by AppSeed](https://user-images.githubusercontent.com/51070104/207091441-942be542-2794-4bdb-a51d-85c75b5bc692.jpg)
115+
116+
<br />
117+
118+
---
119+
[Django Berry Dashboard](https://github.com/app-generator/django-berry-dashboard-pro) - Minimal **Django** starter provided by **[AppSeed](https://appseed.us/)**

README_deploy.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# How to deploy on `Render`
2+
3+
> This document should contains all the steps to deploy the app on render without much effort, using PostgreSQL
4+
5+
https://render.com/docs/deploy-django
6+
7+
## ALL STEPS below
8+
9+
<br />
10+
11+
### 👉 Create `PostgreSQL` database on render
12+
- Go to https://dashboard.render.com/new/database this link.
13+
- Database name should be `berry`.
14+
- Keep the Database, User and Datadog API Key as it is.
15+
- If you want to change database name anything else then you have to change your `render.yaml` file database name too.
16+
17+
<br />
18+
19+
### 👉 Create a Blueprint instance
20+
- Go to https://dashboard.render.com/blueprints this link.
21+
- Click `New Blueprint Instance` button.
22+
- Connect your `repo` which you want to deploy.
23+
- Fill the `Service Group Name` and click on `Update Existing Resources` button.
24+
- After that your deployment will start automatically.

build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
# exit on error
3+
set -o errexit
4+
5+
python -m pip install --upgrade pip
6+
7+
pip install -r requirements.txt
8+
9+
python manage.py collectstatic --no-input
10+
python manage.py migrate

core/__init__.py

Whitespace-only changes.

core/asgi.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
ASGI config for core project.
3+
4+
It exposes the ASGI callable as a module-level variable named ``application``.
5+
6+
For more information on this file, see
7+
https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
8+
"""
9+
10+
import os
11+
12+
from django.core.asgi import get_asgi_application
13+
14+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings")
15+
16+
application = get_asgi_application()

0 commit comments

Comments
 (0)