https://github.com/balewgize/tomar
Medium like website where users can read and write stories freely
https://github.com/balewgize/tomar
blog djagno medium
Last synced: 10 days ago
JSON representation
Medium like website where users can read and write stories freely
- Host: GitHub
- URL: https://github.com/balewgize/tomar
- Owner: balewgize
- Created: 2023-02-04T14:23:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T07:50:21.000Z (about 3 years ago)
- Last Synced: 2025-01-05T13:26:10.356Z (over 1 year ago)
- Topics: blog, djagno, medium
- Language: Python
- Homepage: https://tomar.up.railway.app/
- Size: 1.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Use the following credentials to test the website without creating an account.
- Email: guest@tomar.com
- Password: guest
## About The Project
[](https://tomar.up.railway.app/)
## Features
- Profile for users
- Bookmark and Like posts
- Draft and Published posts
- CRUD posts with permission
- Bootstrap 5 for frontend
- Follower and Following
- Search functionality
- Comment on posts
- Rich text editor (CKEditor)
### Built With
- Python/Django
- Bootstrap
- JavaScript/jQuery
- PostgreSQL
- Gunicorn
- Railway
## Getting Started
To get a local copy up and running follow these simple steps.
### Prerequisites
* Django
### Installation
1. Clone the repo and navigate to ```tomar``` directory
```
git clone https://github.com/balewgize/tomar.git
```
```
cd tomar
```
2. Install required packages (virtual environments recommended)
```
python3 -m venv venv && source venv/bin/activate
```
```
pip install -r requirements/local.txt
```
3. Provide credentials in *.env* (example in .env.dev file)
```
DJANGO_SECRET_KEY=
```
Use the following command to generate random *SECRET_KEY*
```
python3 -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
```
4. Run tests (each app can also be tested individually)
```
python manage.py test
```
5. Apply migrations and start the server
```
python manage.py migrate
```
```
python manage.py runserver
```
6. Goto http://127.0.0.1:8000 on your browser.
Thanks!