This is a React + Vite PWA template running for starting a new project. It's made for GitHub (CI/CD with GH Actions + publish with GH Pages).
git clone https://github.com/nmerget/right.git my-awesome-project
# or
git clone git@github.com:nmerget/right.git my-awesome-project
pnpm install
node scripts/rename.js --name "My Awesome Project" --short-name my-awesome-project
Replace the public/app-icon.png
with an own icon and run npm run generate:manifest-icons
Goto manifest.ts
and change the config by your preferences. For more information look at this.
All your setup is done. Run pnpm run dev
and start writing code inside the src
folder.
- Create a new repo in GH and change the origin
- Your default branch should be
main
so the pipeline works out of the box - Goto
Settings/Actions/General
and activateRead and write permission
otherwise some of the jobs of the ci wouldn't work - Push an
Initial commit
to your repo and the pipeline should trigger the GitHug Pages publish
Enable Allow auto-merge
and Automatically delete head branches
inside Settings/General
Enable branch protection for main
under Settings/Branches
. These settings are only available after pushing at least 1 commit to the repo