-
Clone the AntAlmanc repository
-
Navigate to the root directory and install the dependencies
cd AntAlmanac
npm install
-
Start the development server
npm start
-
The site should load on http://localhost:3000
As you make changes to the React application insrc
, those changes will be automatically reflected on the site.
The backend server isn't necessary for frontend development. By default, your frontend will send requests to dev.api.antalmanac.com
, which has it's own database that is seperate from production's.
If you need run the backend, you must do the following:
- Update the
endpointTransform
function in api/endpoints.js toreturn path;
. This will point it at the backend onlocalhost:8080
- Clone the backend repository
git clone [email protected]:icssc-projects/antalmanac-backend.git
- Follow the setup instructions in antalmanac-backend/README.md
We use GitHub Pages to deploy our site. Only ICSSC Project Committee members with push access will be able to deploy the website.
Make sure you are on the latest version of main
before running the deploy command.
git checkout main
git pull
npm run deploy