This repository contains the source code for winrepo.org, a platform to increase the visibility of women in neuroscience.
- Fork and clone the repository.
- Create a virtual environment and install dependencies:
python3.10 -m venv .venv source .venv/bin/activate pip install -r requirements.txt - Set up environment variables — copy the defaults:
cp .env.default .env
- Populate the database with sample data:
This creates an SQLite database with test profiles, users, and fixtures. Pre-created accounts:
./tools/refresh_db.sh
admin/admin(superuser)user/user(regular user)user-profile/user(staff with profile)
- Run the development server:
Open http://localhost:8000/ in your browser.
python manage.py runserver
docker-compose upThis starts the Django app with a MySQL database. The app is available at http://localhost:8000/.
python manage.py testWith coverage:
coverage run --source=profiles manage.py test
coverage report- Hard-reload your browser (
Ctrl+Shift+R) to see CSS/JS changes. - Test responsiveness using your browser's Responsive Design Mode.
See CONTRIBUTING.md for guidelines.
This project builds upon work originally developed in the WiNRepo repository by Gregory Fryns.