Skip to content

Local Deployment

Follow these steps if you want to run the project locally or deploy it to your own private server.

Environment

  • Node.js: 18.x or higher
  • Package Manager: npm, yarn, or pnpm

Steps

  1. Clone the Repository:

    bash
    git clone https://github.com/YUME-0721/YuNest.git
    cd YuNest
  2. Install Dependencies:

    bash
    npm install
  3. Configure Environment Variables:

    • Create a .env file in the root directory.
    • Add the following content:
      env
      VITE_ADMIN_PASSWORD=your_password
      VITE_GITHUB_TOKEN=your_token(optional)
      VITE_GITHUB_REPO=your_repo(optional)
  4. Start Development Server:

    bash
    npm run dev
  5. Build for Production:

    bash
    npm run build

    The production-ready static files will be generated in the dist directory. You can deploy them to any web server like Nginx or Apache.