Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s3nsu1k4n/members_only_django
https://github.com/s3nsu1k4n/members_only_django
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/s3nsu1k4n/members_only_django
- Owner: S3nsu1k4n
- Created: 2023-12-21T07:10:31.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-25T01:40:15.000Z (11 months ago)
- Last Synced: 2023-12-25T02:39:01.201Z (11 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Members-only
Small project building an exclusive clubhouse where members can write anonymous posts. Inside the clubhouse, members can see who the author of a post is but, outside, they can only see the story and wonder who wrote it.
# Python and used packages
- Python 3.10.6
- Django 5.0
- python-dotenv 1.0.0# How to use
## 1. Clone the repository
git clone
## 2. (optional) create a virtual environment## 3. Install the dependencies from requirements.txt
pip install -r requirements.txt
## 4. Apply migrations
python manage.py migrate
## 5. Run server
python manage.py runserver
## 6. Create user for login
python manage.py createsuperuser
## 7. (optional) For seeding database with example data
python manage.py seed
seed configuration for the seed command can be found at management/commands/seeds.py
## 8. (optional) For testing
python manage.py test
Testing files can be found inside management/tests/# Routes
```
/
├── admin/
├── accounts/
│ ├── login/
│ └── logout/
└── app/
└── post/
└── create/
```
# PagesOpen
## 1. Index (logged out)
## 2. Index (logged in)
## 3. Login
## 4. New Post