Skip to content

nmerget/godot-assets

Repository files navigation

React in GitHub template (RiGHt👉)

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).

Setup

Clone the repo

git clone https://github.com/nmerget/right.git my-awesome-project

# or

git clone git@github.com:nmerget/right.git my-awesome-project

Install dependencies

pnpm install

Rename the default repo

node scripts/rename.js --name "My Awesome Project" --short-name my-awesome-project

Add a custom app icon

Replace the public/app-icon.png with an own icon and run npm run generate:manifest-icons

Update manifest

Goto manifest.ts and change the config by your preferences. For more information look at this.

Start coding

All your setup is done. Run pnpm run dev and start writing code inside the src folder.

Configure in GitHub

  1. Create a new repo in GH and change the origin
  2. Your default branch should be main so the pipeline works out of the box
  3. Goto Settings/Actions/General and activate Read and write permission otherwise some of the jobs of the ci wouldn't work Write-permissions
  4. Push an Initial commit to your repo and the pipeline should trigger the GitHug Pages publish

Recommendations

Enable Allow auto-merge and Automatically delete head branches inside Settings/General

Auto-merge

Enable branch protection for main under Settings/Branches. These settings are only available after pushing at least 1 commit to the repo

branch-protection

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •