Skip to content

WomenInNeuroscience/winrepo

 
 

Repository files navigation

The Women in Neuroscience Repository (WiNRepo)

This repository contains the source code for winrepo.org, a platform to increase the visibility of women in neuroscience.

Quick Start

  1. Fork and clone the repository.
  2. Create a virtual environment and install dependencies:
    python3.10 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  3. Set up environment variables — copy the defaults:
    cp .env.default .env
  4. Populate the database with sample data:
    ./tools/refresh_db.sh
    This creates an SQLite database with test profiles, users, and fixtures. Pre-created accounts:
    • admin / admin (superuser)
    • user / user (regular user)
    • user-profile / user (staff with profile)
  5. Run the development server:
    python manage.py runserver
    Open http://localhost:8000/ in your browser.

Docker (alternative)

docker-compose up

This starts the Django app with a MySQL database. The app is available at http://localhost:8000/.

Running Tests

python manage.py test

With coverage:

coverage run --source=profiles manage.py test
coverage report

Important Notes

  • Hard-reload your browser (Ctrl+Shift+R) to see CSS/JS changes.
  • Test responsiveness using your browser's Responsive Design Mode.

Contributing

See CONTRIBUTING.md for guidelines.

Background

This project builds upon work originally developed in the WiNRepo repository by Gregory Fryns.

About

Website development of WiNRepo

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 49.3%
  • Python 42.6%
  • CSS 3.7%
  • JavaScript 3.6%
  • Other 0.8%