Amherst Coursework is a web application that provides Amherst College students and faculty with an intuitive, advanced interface for course search.
To clone and set up the application locally, follow the instructions below.
git clone https://github.com/ac-i2i-engineering/amherst-coursework.git
cd amherst-coursework
Create and activate a virtual environment to manage dependencies locally.
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Navigate to the backend directory and apply migrations to set up the database schema.
cd amherst_coursework_backend
python manage.py makemigrations
python manage.py migrate
To run the application locally, use the following command:
python manage.py runserver
Visit http://127.0.0.1:8000/
in your browser to view the application.
We welcome contributions to improve Amherst Coursework. Please follow these guidelines:
-
Code Formatting: Ensure your code adheres to the
black
style guidelines. You can format your code by running:python -m black ./
A pre-commit hook is set up to enforce this format.
-
Documentation: For adding or updating documentation, please refer to the Amherst Coursework Backend Documentation Guide in
docs/
. It includes instructions on using Sphinx to document models and views, creating.rst
files, and previewing the documentation. -
Pull Requests: Before submitting a pull request, ensure that all code is well-documented, tested, and follows our coding standards.
For any questions or further support, please reach out to our team.