Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Track your productivity through a daily leaderboard

NotificationsYou must be signed in to change notification settings

wakatime/crackboard.dev

Repository files navigation

wakatime

Setup

InstallPostgres.

git clone git@github.com:wakatime/crackboard.dev.gitcd crackboard.devpsql -c "CREATE ROLE crackboarddev WITH LOGIN SUPERUSER PASSWORD 'crackboarddev';"psql -c "CREATE DATABASE crackboarddev WITH OWNER crackboarddev;"psql -d crackboarddev -c "CREATE EXTENSION citext;"cp .env.example .envpnpm ipnpm migratepnpm devpnpm androidpnpm ios

Tech Stack

Adding npm dependencies

To add a package, first choose the workspace(s) where it's going to be used then install for a workspace with:

pnpm add <package> --filter=@workspace/web

Authentication

Auth is handled by logging in with WakaTime.Create a newWakaTime OAuth App:

WakaTime OAuth App Settings

Add your app’sApp ID andApp Secret to your local.env and your production app’s env vars:

.env

WAKATIME_APP_ID=1234WAKATIME_APP_SECRET=waka_sec_123

Admin

To access the admin, make sure you’re the first sign up and you'll become the leaderboard’s admin.Then visithttp://localhost:3000/admin.

Use production API for local mobile

Set theTEST_PROD flag to true inconstants/index.ts to use the production api server.

Login on Dev Android Mobile Simulator

The Android simulator treatslocalhost as the simulator itself, so when logging in via GitHub just edit the localhost urls and replace with10.0.2.2.

About

Track your productivity through a daily leaderboard

Topics

Resources

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp