From b1429494d7c42998eac6dd9bca98cf0c8f50e268 Mon Sep 17 00:00:00 2001 From: No0ne <145666753+No0ne003@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:18:45 +0100 Subject: [PATCH 1/2] Create deploy.yml --- .github/workflows/deploy.yml | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..44a7c6c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,51 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ['main'] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: 'pages' + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Node + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + # Upload dist repository + path: './dist' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 From aff8968e8ee9a59957f2a75feaddfe3d79678119 Mon Sep 17 00:00:00 2001 From: No0ne <145666753+No0ne003@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:06:05 +0100 Subject: [PATCH 2/2] chore: Update README with project setup instructions --- README.md | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f768e33..1d12c80 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,42 @@ -# React + Vite +# React-Projects -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. +Welcome to the React-Projects repository! This project is a collection of React applications bundled together using Vite, styled with Tailwind CSS, and enhanced with UI components from ui.shadcn. It's a powerful and flexible setup that allows you to manage and deploy multiple React projects within a single application. -Currently, two official plugins are available: +## Table of Contents + +- [Getting Started](#getting-started) +- [Technologies Used](#technologies-used) +- [Contributing](#contributing) + +## Getting Started + +Follow these instructions to get the project up and running on your local machine. + +1. **Clone the repository:** + + ```bash + git clone https://github.com/No0ne003/React-Project.git + ``` + +2. **Install dependencies:** + + ```bash + npm install + ``` + +3. **Run the development server:** + + ```bash + npm run dev + ``` + + This will start the development server, and you can access the application at `http://localhost:3000`. + +## Technologies Used + +[![Tailwind](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)](https://tailwindcss.com) [![react](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://reactjs.org/) [![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=for-the-badge&logo=vite&logoColor=white)](https://vitejs.dev/) + +## Contributing + +Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or submit a pull request. -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh