Welcome to Play&Find, the place where you can find teammates and friends!
Play&Find is a platform that helps users find sports fields and organize games. Users can create, join, and manage sports training sessions.
Enjoy using!
https://play-find.onrender.com/
You can use the test user provided below, or feel free to register on your own.
username: username
password: password589243
-
Clone the repository:
git clone https://github.com/dpiuro/play-find.git cd play-find -
Create and activate virtual environment
python -m venv venv
For Unix system:
source venv/bin/activateFor Windows system:
venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Create a regular user(or you can skip this step and sign up using site form):
Use the following commands in the Django shell to create a regular user:
python manage.py shell
Inside the shell:
from django.contrib.auth.models import User user = User.objects.create_user('user', 'user@example.com', 'password85795495') user.save() exit()
This will create a user with the following credentials:
- Username:
user - Email:
user@example.com - Password:
password85795495
- Username:
-
Start the development server:
python manage.py runserver
-
Load initial data (optional):
python manage.py loaddata data.json

