-
Clone the repository using your preferred method:
# HTTPS git clone https://github.com/lumen-notes/lumen.git # SSH git clone git@github.com:lumen-notes/lumen.git # GitHub CLI gh repo clone lumen-notes/lumen
-
Generate a GitHub personal access token (classic) with
repo,gist, anduser:emailscopes, or a fine-grained personal access token scoped to a specific repository with the additional read-only email scope and gist, then add it to a.env.localfile in the root directory:VITE_GITHUB_PAT=<your token here>
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev:vercel
-
Open the app at http://localhost:8888
graph
subgraph local[Local machine]
subgraph app.uselumen.com
state-machine([state machine])
isomorphic-git[isomorphic-git]
lightning-fs[lightning-fs]
end
local-storage[(localStorage)]
indexeddb[(IndexedDB)]
end
subgraph edge[Vercel Functions]
cors-proxy(["/cors-proxy"])
end
github.com([github.com])
state-machine <--> isomorphic-git
state-machine <--> lightning-fs
state-machine <--> local-storage
isomorphic-git <--> lightning-fs
isomorphic-git <--> cors-proxy
lightning-fs <--> indexeddb
cors-proxy <--> github.com