This repository contains the code for the Embedded Purdue website, custom built using Astro.
This webiste reflects the current state of ES@P, so should reflect all recent work. Update with new photos, projects, and members regularly. Maintenance is assigned to the president, although any member may contribute. Basic knowledge of HTML/CSS/JS and Astro recommended.
-
Update Data in Excel File
- Open the
data.xlsxfile located in thedatafolder. - Update the following fields manually: Name, Role, Image, MajorYear, LinkedIn
- Open the
-
Upload Images
- Upload the updated images to the
public/mediafolder.
- Upload the updated images to the
-
Generate JSON Data
- Run the following command to load the data into JSON format: npm run generate-data
This will unpack the data and make it ready for use.
Contributions are welcome! Check the Issues tab for pending tasks. Follow these steps to contribute:
- Fork the repository on GitHub.
- Create a new branch for your changes:
git checkout -b feature-branch-name - Make your changes and commit them:
git commit -m "Description of changes" - Push your changes to your fork:
git push origin feature-branch-name - Submit a pull request to the main repository.
Host site locally:
- Clone the repository
- Install dependencies using npm:
npm install - Start the development server:
npm run dev - Open the local development environment: The website should be available at http://localhost:4321/ (or as indicated in the terminal output).
Run scripts:
- Create virtual environment
python3 -m venv venv - Activate
source venv/bin/activate - install dependencies
pip install -r scripts/requirements.txt
This project is licensed under the MIT License. See the LICENSE file for details.