The Capacity Exchange (CapX) is a project developing a sociotechnical platform for peer-to-peer connection and knowledge sharing towards sustainable, community-based capacity-building within the Wikimedia Movement. It intends to deliver an interactive, online platform, backed by a database, which will allow wikimedians to: publish information about themselves, their affiliates, and informal groups; conduct searches and access information published by others; connect with peers for knowledge exchange. The platform is intended to be responsive, intuitive, and accessible to all wikimedia users.
This is an application project for the Wikimedia Capacity Exchange (CapX) project through Outreachy.
The project is part of migrating the Capacity Exchang pilot software from Java to Python using the Django framework.
If your README is long, add a table of contents to make it easy for users to find what they need.
- Prerequisites
- Installation
- Usage
- Acknowledgements
- Technologies
- Features & Implementation
- Feedback
- How to Contribute
- Tests
Before you begin, ensure you have met the following requirements:
- Python 3
- Django 4.2.5
- Clone the repository:
git clone https://github.com/michellemounde/capx-bug.git
- Navigate to the project directory:
cd capx-bug
- Create a virtual environment (optional but recommended):
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- Install project dependencies:
pip install -r requirements.txt
- Create the database and apply migrations:
python manage.py migrate
- Create a superuser to have full control over the database:
python manage.py createsuperuser
- Start the development server:
python manage.py runserver
You should now be able to access the project at http://localhost:8000/ in your web browser.
- Go to http://localhost:8000/bug/
- Follow the provided links to access different pages
- On the register links page, you can register a bug with a current, past or future date
- On the bugs list page you can view all current and past bugs in descending order of report date
- You can click on a specifi bug to open its detail view page
- On a bug detail page you can view the bug's id, description, bug_type, status and report date
Credits:
Project:
Wikimedia
Project Access:
Outreachy(https://www.outreachy.org/)
- Python
- Django
- HTML
- A bug index page with a welcome page and navigation menu.
- A bug registration page with desription, bug_type, status and report_date fields.
- A bugs list page showing current and past bugs in descending order
Feel free to send me feedback by filing an issue. Feature requests are always welcome.
Contributions are welcome! To contribute to Capacity Exchange (CapX) - Bug, follow these steps:
- Fork the repository
- Create a new branch: git checkout -b feature/your-feature
- Make your changes and commit them: git commit -m 'Add some feature'
- Push to the branch: git push origin feature/your-feature
- Create a pull request on GitHub
Run tests with the following command:
python manage.py test bug