diff --git a/README.md b/README.md index 18bc70e..14dce09 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,31 @@ The React Compiler is not enabled on this template because of its impact on dev ## Expanding the ESLint configuration If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project. + +## How to deploy demo + +1. Configure the deployment from the branch `demo` via [GitHub Pages](https://docs.github.com/en/pages/quickstart) + +2. Build in the feature branch +``` +git checkout feature/abc +``` +For `parcel`: +``` +npm run build -- --public-url ./ +``` +For `vite`: +``` +npm run build -- --base /flickmate/feature/abc/ +``` +3. Update the `demo` branch +``` +git checkout demo +mkdir -p ./feature/abc +cp -r ./dist/* ./feature/abc +git add . +git commit -m "deploy feature/abc" +git push +``` + +4. Go to https://emworks.github.io/flickmate/feature/abc \ No newline at end of file diff --git a/index.html b/index.html index 72f565e..834c47f 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,31 @@ Flickmate + + + +