Install Dependencies:
yarn install
Start the app:
yarn dev
Use npm version
to manage git tags and update hosted Clubs by publishing them as GitHub Releases.
If you are incrementing a pre-release version that already exists:
npm version prerelease
git push && git push --tags
To create a new pre-release version from an existing stable release version:
npm version preminor --preid beta
# Depending on the changes, [prepatch|premajor] can also be used
git push && git push --tags
When turning a pre-release into a stable release or updating a stable release, do the following:
npm version [patch|minor|major]
git push && git push --tags
example:
REDIS_USERNAME=default
REDIS_PASSWORD=my-redis-password
REDIS_URL='redis://redis....com:16141'
Once you have set the Redis env variables, you are ready to populate your database.
You can do this by running yarn run populate
.
For debugging purposes, you can copy the production configuration to a locally connected Redis by running yarn copy --club CLUB_TENANT_ID
.