Jelajahi Sumber

Update README.md

Chengxiang Wu 2 tahun lalu
induk
melakukan
26bf60d864
1 mengubah file dengan 49 tambahan dan 8 penghapusan
  1. 49 8
      README.md

+ 49 - 8
README.md

@@ -4,13 +4,54 @@
 
 ![Google Chrome 2024-07-12 22 33 34](https://github.com/user-attachments/assets/7949a952-580f-4577-ab7f-e7ccfc1dd57e)
 
+Built using Next.js 14. The website features a blog powered by the Notion API, serving as the CMS. The design is inspired by Nev Flynn's Bento design, focusing on simplicity and user-friendly interfaces.
 
-## Technologies Used
+## Features
 
-- [Next.js 14](https://nextjs.org/docs/getting-started)
-- [NextUI v2](https://nextui.org/)
-- [Tailwind CSS](https://tailwindcss.com/)
-- [Tailwind Variants](https://tailwind-variants.org)
-- [TypeScript](https://www.typescriptlang.org/)
-- [Framer Motion](https://www.framer.com/motion/)
-- [next-themes](https://github.com/pacocoursey/next-themes)
+- **Next.js 14**: Utilizes the latest features of Next.js for fast rendering and efficient SEO optimization.
+- **Notion API**: Integrates Notion as a headless CMS to manage and retrieve blog content dynamically.
+- **Responsive Bento Design**: Adopts the aesthetic and functional principles of Bento design, customized for a unique look and feel.
+
+## Getting Started
+
+### Prerequisites
+
+Before you begin, ensure you have the following installed:
+- Node.js (v16.x or later recommended)
+- npm or yarn
+
+### Installation
+
+1. Clone the repository:
+   ```bash
+   git clone https://github.com/itsEricWu/ericwu.me.git
+   ```
+
+2. Install dependencies:
+   ```bash
+   npm install
+   ```
+
+3. Set up environment variables:
+   Create a `.env.local` file in the root directory and add the following variables:
+   ```plaintext
+    OPENAI_API_KEY=exampleAPIKey
+    NEXT_PUBLIC_MAPBOX_TOKEN=exampleAPIKey
+    NEXT_PUBLIC_FIREBASE_API_KEY=exampleAPIKey
+   ```
+
+### Running the project
+
+To run the development server:
+```bash
+npm run dev
+```
+Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
+
+## Deployment
+
+This website is ready to be deployed on platforms like Vercel, Netlify, or any other platform that supports Next.js. Follow the deployment documentation of your chosen platform for specific instructions.
+
+## Contributing
+
+Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.