https://github.com/asis2016/django-blog-app
A Basic Django Blog App.
https://github.com/asis2016/django-blog-app
blog django django-application html python
Last synced: about 2 months ago
JSON representation
A Basic Django Blog App.
- Host: GitHub
- URL: https://github.com/asis2016/django-blog-app
- Owner: asis2016
- Created: 2021-05-01T10:21:19.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-05T13:53:40.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T12:44:25.137Z (over 1 year ago)
- Topics: blog, django, django-application, html, python
- Language: JavaScript
- Homepage: https://basic-blog-app-amaharjan.herokuapp.com/
- Size: 710 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Basic Django Blog App
This is a simple demonstration of a Blog (app) made in Django framework.
## Tech Stack
Docker 20.10.6, Python 3.8, Django 3.2.3, Whitenoise, Gunicorn, Heroku
## Demo
[https://basic-blog-app-amaharjan.herokuapp.com/](https://basic-blog-app-amaharjan.herokuapp.com/)
## Environment Variables
To run this project, you will need to add the following environment variables:
`SECRET_KEY` `django-insecure-jhrq9t==0!ysg^6*ut@ort)!@wohm)g^k(xn@515$$=h39(6b(e`
## Run Locally
Clone the project
```bash
git clone https://github.com/asis2016/django-blog-app.git
```
Go to the project directory
```bash
cd django-blog-app
```
Start the project
```bash
docker build .
```
```bash
docker-compose up -d
```
## Running Tests
To run tests, run the following command
```bash
docker-compose exec web python manage.py test
```
## Running the project locally
Goto [http://127.0.0.1:8000/](http://127.0.0.1:8000/)
### Running Django Administration
Goto [http://127.0.0.1:8000/admin](http://127.0.0.1:8000/admin)
- username: root
- password: root
## Demo with Screenshots
[index](https://basic-blog-app-amaharjan.herokuapp.com/)

### Read a post
[/post/{id}/](https://basic-blog-app-amaharjan.herokuapp.com/post/1/)

### Edit the post
[/post/{id}/edit/](https://basic-blog-app-amaharjan.herokuapp.com/post/1/edit/)

### Delete the post
[/post/{id}/delete/](https://basic-blog-app-amaharjan.herokuapp.com/post/1/delete/)

### Create a post
[/post/new/](https://basic-blog-app-amaharjan.herokuapp.com/post/new/)

## Roadmap
- This project doesn't include authentication and authorization. These features can be found on [django-newspaper-app](https://github.com/asis2016/django-newspaper-app).
## Feedback
If you have any feedback, please reach out to us at hello@amaharjan.com