CampusCrew is a platform designed to empower PFW students by enabling them to create and avail services seamlessly. Whether it's offering tutoring, organizing events, or providing other forms of assistance, CampusCrew bridges the gap between service providers and seekers within the student community.
Here is the link to website: https://campuscrew.onrender.com/
Follow these steps to set up and run the CampusCrew project:
git clone <repository-url>
cd campuscrewEnsure Python and pip are installed on your system. Download Python from the official Python website.
Run the following commands to create and activate a virtual environment:
python -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activateNavigate to the campuscrew-be folder and run:
pip install -r requirements.txt- Obtain access to the CampusCrew Supabase project.
- Open the
config.pyfile and update the following variables:SUPABASE_URLSUPABASE_KEYSECRET_KEY
-
SUPABASE_URL:
Found underProject Settings -> API -> Project URL. -
SUPABASE_KEY:
Found underProject Settings -> API -> Project API Keys -> Public. -
SECRET_KEY:
Found underProject Settings -> API -> Project API Keys -> Secret.
Ensure the following are installed on your system:
- Node.js (v16 or later): Download from the Node.js official website.
- npm: Comes bundled with Node.js.
- yarn: Optional, but recommended. Install globally using:
npm install -g yarn
Run the following command in the project root:
npm installLaunch the development server using:
npm start- Install Cypress dependencies:
npm install
- Run tests:
npm run test