|
1 | | -# Welcome to your Lovable project |
2 | | - |
3 | | -## Project info |
4 | | - |
5 | | -**URL**: https://lovable.dev/projects/83ed3576-c44b-4c16-9f63-cd21c147de3e |
6 | | - |
7 | | -## How can I edit this code? |
8 | | - |
9 | | -There are several ways of editing your application. |
10 | | - |
11 | | -**Use Lovable** |
12 | | - |
13 | | -Simply visit the [Lovable Project](https://lovable.dev/projects/83ed3576-c44b-4c16-9f63-cd21c147de3e) and start prompting. |
14 | | - |
15 | | -Changes made via Lovable will be committed automatically to this repo. |
16 | | - |
17 | | -**Use your preferred IDE** |
18 | | - |
19 | | -If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable. |
20 | | - |
21 | | -The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating) |
22 | | - |
23 | | -Follow these steps: |
24 | | - |
25 | | -```sh |
26 | | -# Step 1: Clone the repository using the project's Git URL. |
27 | | -git clone <YOUR_GIT_URL> |
28 | | - |
29 | | -# Step 2: Navigate to the project directory. |
30 | | -cd <YOUR_PROJECT_NAME> |
31 | | - |
32 | | -# Step 3: Install the necessary dependencies. |
33 | | -npm i |
34 | | - |
35 | | -# Step 4: Start the development server with auto-reloading and an instant preview. |
36 | | -npm run dev |
37 | | -``` |
38 | | - |
39 | | -**Edit a file directly in GitHub** |
40 | | - |
41 | | -- Navigate to the desired file(s). |
42 | | -- Click the "Edit" button (pencil icon) at the top right of the file view. |
43 | | -- Make your changes and commit the changes. |
44 | | - |
45 | | -**Use GitHub Codespaces** |
46 | | - |
47 | | -- Navigate to the main page of your repository. |
48 | | -- Click on the "Code" button (green button) near the top right. |
49 | | -- Select the "Codespaces" tab. |
50 | | -- Click on "New codespace" to launch a new Codespace environment. |
51 | | -- Edit files directly within the Codespace and commit and push your changes once you're done. |
52 | | - |
53 | | -## What technologies are used for this project? |
54 | | - |
55 | | -This project is built with: |
56 | | - |
57 | | -- Vite |
58 | | -- TypeScript |
59 | | -- React |
60 | | -- shadcn-ui |
61 | | -- Tailwind CSS |
62 | | - |
63 | | -## How can I deploy this project? |
64 | | - |
65 | | -Simply open [Lovable](https://lovable.dev/projects/83ed3576-c44b-4c16-9f63-cd21c147de3e) and click on Share -> Publish. |
66 | | - |
67 | | -## Can I connect a custom domain to my Lovable project? |
68 | | - |
69 | | -Yes, you can! |
70 | | - |
71 | | -To connect a domain, navigate to Project > Settings > Domains and click Connect Domain. |
72 | | - |
73 | | -Read more here: [Setting up a custom domain](https://docs.lovable.dev/tips-tricks/custom-domain#step-by-step-guide) |
| 1 | +# OpenHardware Initiative Website — Source Code |
| 2 | + |
| 3 | +This folder contains the full source code for the OpenHardware Initiative website. |
| 4 | + |
| 5 | +## 📁 Structure |
| 6 | +- `src/` — Main app source code |
| 7 | + - `components/` — React UI components |
| 8 | + - `data/` — All data (people, events, projects) |
| 9 | + - `pages/` — Page components |
| 10 | + - `...` |
| 11 | +- `public/` — Static assets (images, uploads, etc.) |
| 12 | + |
| 13 | +## 🛠️ Development |
| 14 | +- Built with [React](https://react.dev/), [Vite](https://vitejs.dev/), [TypeScript](https://www.typescriptlang.org/), [Tailwind CSS](https://tailwindcss.com/), and [Bun](https://bun.sh/) |
| 15 | +- All data is managed in `src/data/` as TypeScript files |
| 16 | +- No database or CMS required |
| 17 | + |
| 18 | +## 📦 Data Management |
| 19 | +See [`../DATA_MANAGEMENT_README.md`](../DATA_MANAGEMENT_README.md) for how to add or edit people, events, or projects. |
| 20 | + |
| 21 | +## 🏗️ Building & Deploying |
| 22 | +See [`../DEPLOYMENT_README.md`](../DEPLOYMENT_README.md) for how to build and deploy the site with Bun and GitHub Pages. |
| 23 | + |
| 24 | +## ⚡ Quick Start |
| 25 | +1. Install dependencies (if needed): |
| 26 | + ```sh |
| 27 | + bun install |
| 28 | + ``` |
| 29 | +2. Start the dev server: |
| 30 | + ```sh |
| 31 | + bun run dev |
| 32 | + ``` |
| 33 | +3. Build for production: |
| 34 | + ```sh |
| 35 | + bun run build |
| 36 | + ``` |
| 37 | + |
| 38 | +## 📝 Notes |
| 39 | +- SPA routing is supported for GitHub Pages, Vercel, and Netlify |
| 40 | +- All application links are managed via `src/config/applicationConfig.ts` |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +For more, see the main repo README and the documentation files. |
0 commit comments