Medium like website where users can read and share stories freely!
View Demo »
Use the following credentials to test the website without creating an account.
- Email: guest@tomar.com
- Password: guest
- 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)
- Python/Django
- Bootstrap
- JavaScript/jQuery
- PostgreSQL
- Gunicorn
- Railway
To get a local copy up and running follow these simple steps.
- Django
- Clone the repo and navigate to
tomar
directorygit clone https://github.com/balewgize/tomar.git
cd tomar
- Install required packages (virtual environments recommended)
python3 -m venv venv && source venv/bin/activate
pip install -r requirements/local.txt
- Provide credentials in .env (example in .env.dev file)
Use the following command to generate random SECRET_KEY
DJANGO_SECRET_KEY=
python3 -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
- Run tests (each app can also be tested individually)
python manage.py test
- Apply migrations and start the server
python manage.py migrate
python manage.py runserver
- Goto http://127.0.0.1:8000 on your browser.
Thanks!