mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-15 19:54:02 +00:00
1.3 KiB
1.3 KiB
stancl/tenancy docs
For the main repository, see stancl/tenancy.
Getting started
Prerequisites
- Git
- PHP: any 7.x version starting with v7.3 or greater
- Composer: See Composer Website
- Node: any 12.x version starting with v12.0.0 or greater
- A fork of the repo (for any contributions)
- A clone of tenancy-docs on your local machine
Installation
composer installto install dependenciesnpm installto install the docs npm dependencies
Running locally
- You can use
npm run watch,npm run dev, andnpm run production. open http://localhost:3000to open the site in your favorite browser
Contributing
Create a branch
git pull origin masterto ensure you have the latest main codegit checkout -b the-name-of-my-branch(replacingthe-name-of-my-branchwith a suitable name) to create a branch
Make the change
Push it
git add -A && git commit -m "My message"(replacingMy messagewith a commit message, such asFix header logo on Android) to stage and commit your changesgit push my-fork-name the-name-of-my-branch- A Netlify build will also be automatically created once you make your PR so other people can see your change.