Please read through our Contributing Guidelines.
Before you start, install dependencies:
npm install
Start development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
The website can be accessed at http://localhost:3000.
In case you need to update dependencies:
npm update
- Copy file
.env.dist
to.env
. - Set correct values in
.env
file for your environment.
- Go to your GitHub repository.
- Go to "Settings > Secrets and variables > Actions > Secrets > Repository secrets".
- Add a new repository secret called
NEXT_PUBLIC_...
with the value you need.
- Go to GitHub user menu under your avatar.
- Go to "Settings > Developer Settings > Personal access tokens > Tokens (classic)".
- Click "Generate new token > Generate new token (classic)".
- In
Expiration
selectNo expiration
. - Select the
repo
scope. - Generate token.
- Copy and paste the generated token into the repository secret using name
NEXT_PUBLIC_GITHUB_TOKEN
.
- Go to
https://console.firebase.google.com
. - Create new project.
- Disable Google Analytics.
- Create
Web
app in your project. - Copy and paste the generated data from firebase config into repository secrets using names:
- "apiKey > NEXT_PUBLIC_FIREBASE_API_KEY"
- "authDomain > NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN"
- "projectId > NEXT_PUBLIC_FIREBASE_PROJECT_ID"
- "storageBucket > NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET"
- "messagingSenderId > NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID"
- "appId > NEXT_PUBLIC_FIREBASE_APP_ID"
- Create
Firestore Database
in your app.
- Change Rules:
- Rewrite the string
allow read, write: if false;
toallow read, write;
.
- Rewrite the string