-
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:email
scopes, then add it to a.env.local
file in the root directory:VITE_GITHUB_PAT=<your token here>
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev:netlify
-
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[Netlify Edge 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