https://github.com/boudhayan-dev/gms
Gym management system
https://github.com/boudhayan-dev/gms
css django html javascript management-system python3
Last synced: about 2 months ago
JSON representation
Gym management system
- Host: GitHub
- URL: https://github.com/boudhayan-dev/gms
- Owner: boudhayan-dev
- Created: 2019-06-17T02:47:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:35:28.000Z (about 3 years ago)
- Last Synced: 2024-12-28T23:11:40.385Z (over 1 year ago)
- Topics: css, django, html, javascript, management-system, python3
- Language: Python
- Size: 44.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GMS
Apply the following steps to replicate the environment.
* Clone repo
```
git clone https://github.com/boudhayan-dev/GMS
cd GMS
```
* Create and activate virtual environment
```
virtualenv venv
cd venv/Scripts
activate
cd ../..
cd gym
```
* Create a SuperUser
```
python manage.py createsuperuser
```
* Apply all migrations
```
python manage.py migrate
```
If you want to migrate a particular app only (ex- gym_owner), apply this -
```
python manage.py makemigrations gym_owner
python manage.py migrate gym_owner
```
* Start server
```
python manage.py runserver 0.0.0.0:8000
```
* Go to /owner/registration and create new user + gym.
For other artifacts, use the admin panel for now
### Status
Model - All the models have been defined in - gym_owner, gym_customer and gym_payment.
Views - The following routes have been defined in gym_owner app -
* /owner/dashboard - Currently empty. Requires Login.
* /owner/login - Login View
* /owner/logout - Logout view
* /owner/registration - Gym and Owner onboarding
* /owner/my-profile - Owner Profile (view/update)