Skip to content

Commit 76e4687

Browse files
committed
docs: add information about data , local dev
1 parent a9b0b6f commit 76e4687

File tree

1 file changed

+73
-44
lines changed

1 file changed

+73
-44
lines changed

README.md

+73-44
Original file line numberDiff line numberDiff line change
@@ -2,81 +2,110 @@
22

33
The ALiAS website is undergoing a rewrite using [shadcn/ui](https://ui.shadcn.com/). Meanwhile, this website serves as a temporary solution to maintain [asetalias.in](https://asetalias.in).
44

5-
## 🚀 Project Overview
5+
## Project Overview
66

77
Within this project, you'll find the following folders and files:
88

9-
```bash
9+
```kotlin
1010
.
11-
├── README.md
12-
├── index.html
13-
├── package.json
14-
├── pnpm-lock.yaml
1511
├── public
16-
│   ├── assets
17-
│   │   ├── icons
18-
│   │   └── images
19-
│   └── data
20-
│   ├── about.json
21-
│   ├── alumni.json
22-
│   ├── events.json
23-
│   ├── members.json
24-
│   └── socials.json
25-
├── src
26-
│   ├── App.css
27-
│   ├── App.jsx
28-
│   ├── components
29-
│   │   ├── AboutUs
30-
│   │   ├── Alumni
31-
│   │   ├── Community
32-
│   │   ├── Contact
33-
│   │   ├── Events
34-
│   │   ├── Hero
35-
│   │   ├── Navbar
36-
│   │   ├── Reusables
37-
│   │   └── Team
38-
│   ├── index.css
39-
│   ├── main.jsx
40-
│   ├── pages
41-
│   │   └── Home
42-
│   └── variables.css
43-
└── vite.config.js
12+
│ ├── assets
13+
│ │ └── images
14+
│ │ └── alumni
15+
│ │ └── communities
16+
│ │ └── members
17+
│ │ └── posters
18+
│ │ └── ...
19+
│ └── data
20+
│ ├── about.json
21+
│ ├── alumni.json
22+
│ ├── events.json
23+
│ ├── volunteers.json
24+
│ └── socials.json
4425
```
4526

46-
The public/data directory contains various JSON files for adding events, volunteers, and alumni.
27+
1. `about.json` contains data related to the about section, like why and what ALiAS is and how ALiAS reaches its goals.
4728

48-
## 🛠️ Contribution and Local Development
29+
1. `alumni.json` stores:
30+
31+
- PFP (Profile Picture) image path, which is stored in `assets/images/alumni`.
32+
- First name and last name of alumni.
33+
- Latest designation(s) of alumni.
34+
- Social links, namely Linkedin and Github.
35+
36+
1. `communities.json` stores:
37+
38+
- name of the community
39+
- path of the community logo which is stored in `assets/images/communities`
40+
- community webpage link
41+
- outline(boolean): whether to outline the logo
42+
43+
1. `events.json` stores:
44+
45+
- Poster image path, which is stored in `assets/images/events`.
46+
- Title, date, time, and venue of the event.
47+
- Description: a short description of the event.
48+
49+
1. `volunteers.json` stores:
50+
- PFP (Profile Picture) image path, which is stored in `assets/images/volunteers`.
51+
- Name of the volunteer.
52+
- Role of the volunteer: Faculty coordinator, Volunteer, Supporter (volunteers who are not from Amity University).
53+
- Social links, namely Linkedin and Github.
54+
55+
## Contribution and Local Development
4956

5057
To contribute to this project or run it locally, follow these instructions:
5158

5259
### Installation
5360

54-
1. Navigate to the project's root directory using your terminal.
61+
> [!IMPORTANT]
62+
> This project uses bun for package management and runtime. So please install it from [here](https://bun.sh/).
63+
64+
1. Fork this [repository](https://github.com/asetalias/asetalias.github.io/fork).
65+
1. Clone your fork and navigate to the project's root directory.
5566

56-
2. Run the following command to install the necessary dependencies:
67+
```shell
68+
git clone https://github.com/<your_github_username>/asetalias.github.io.git
69+
cd asetalias.github.io
70+
```
71+
72+
1. Install necessary dependencies:
5773

5874
```bash
59-
pnpm install
75+
bun install
6076
```
6177

6278
### Local Development
6379

6480
1. After installing the dependencies, start the local development server by running:
6581

6682
```bash
67-
pnpm dev
83+
bun dev
6884
```
6985

7086
This will launch the server, and you can access the site at [`localhost:5173`](https://localhost:5173) in your browser.
7187

72-
2. Make your desired changes to the project files.
88+
1. Make your desired changes to the project files.
89+
90+
1. Check for formatting errors.
91+
92+
```shell
93+
bun check
94+
```
95+
96+
1. Format the codebase
97+
98+
```shell
99+
bun format
100+
```
73101

74-
3. If you want to contribute, please fork the repository, create a branch for your changes, and submit a pull request.
102+
> [!TIP]
103+
> Formatting is automatically done through git hooks ([husky](https://github.com/typicode/husky), [lint-staged](https://github.com/lint-staged/lint-staged)).
75104
76105
### Questions or Discussions
77106

78107
Join our [Discord server](https://discord.gg/bx9EWcAAVj) for any questions, discussions, or further assistance.
79108

80-
## Credit
109+
## Credits
81110

82-
This is based off of the lovely [ALiAS Lucknow](https://lucknow.asetalias.in/).
111+
This is based on the lovely [ALiAS Lucknow](https://lucknow.asetalias.in/).

0 commit comments

Comments
 (0)