Get Relaciona running locally
This guide will help you set up Relaciona from clone to first class creation in under 10 minutes.Set up Python environment
Create and activate a virtual environment:
Relaciona requires Python 3.11 or higher. Check your version with
python --versionInstall dependencies
Install all required Python packages:This installs:
- Django 4.2.27 (web framework)
- PostgreSQL driver (psycopg2-binary)
- Cloudinary integration (for profile pictures)
- WhiteNoise (static file serving)
- Gunicorn (production server)
Configure environment variables
Create a Add the following configuration:
.env file in the project root:.env
Set up the database
Create a PostgreSQL database:Run Django migrations:This creates all necessary tables including:
- User profiles (students and teachers)
- Class groups with invite codes
- Quiz results and assessments
- Game session data
Create a superuser
Create an admin account to access Django admin:Follow the prompts to set username, email, and password.
Start the development server
Launch the Django development server:Open your browser to http://localhost:8000
The server runs on port 8000 by default. Use
python manage.py runserver 8080 to use a different port.Create your first teacher account
Now that Relaciona is running, let’s create your first teacher account and class.Register as a teacher
- Navigate to http://localhost:8000
- Click Register or go to
/accounts/register/ - Fill in the registration form:
- Choose username and password
- Select Profesor (Teacher) as your role
- Click Register
Log in and create a class
- Log in with your new teacher credentials
- You’ll land on the teacher home page
- Click Create Class or navigate to
/teachers/create-group/ - Enter a class name (e.g., “Math 101” or “Spanish 3B”)
- Click Save
A unique 6-character invite code is automatically generated for each class (e.g.,
A3X9K2). Students will use this code to join your class.Test with a student account
Create a student account
- Log out from the teacher account
- Go to the registration page
- Create a new account with role Alumno (Student)
Join the class
- Log in as the student
- Navigate to Join Class or enter the URL
/teachers/join-class/ - Enter the 6-character invite code from your teacher account
- Click Join
Complete the student profile
- Go to Edit Profile (student home → Edit Profile)
- Fill in profile information:
- Upload a profile picture
- Add full name, nickname, date of birth
- Enter favorite song, artist, movie
- Add interests and reflection questions
- Enable Share with class to make profile visible in games
- Save the profile
Start playing games
With at least 2 students who have completed profiles, you can start playing!Hangman
Guess classmate names letter by letter
Face Guess
Match photos to student names
Spotify Mystery
Guess whose favorite song is playing
All Games
Explore all 10+ available games
Next steps
Full Installation Guide
Detailed setup including PostgreSQL, Cloudinary, and production config
Environment Variables
Complete reference for all configuration options
Deploy to Production
Deploy to AWS, Vercel, or your preferred platform
For Teachers
Learn about managing classes and viewing analytics
Need help? Check the GitHub repository or review the full installation guide.