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
Clone the Repository:
bashgit clone https://github.com/YUME-0721/YuNest.git cd YuNestInstall Dependencies:
bashnpm installConfigure Environment Variables:
- Create a
.envfile 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)
- Create a
Start Development Server:
bashnpm run devBuild for Production:
bashnpm run buildThe production-ready static files will be generated in the
distdirectory. You can deploy them to any web server like Nginx or Apache.