lapce-extensions
lapce-extensions copied to clipboard
Extension registry for https://lapce.dev
Lapce Registry
This is the software running the lapce plugin registry, this manages and hosts plugins that the community uploads.
Run the registry locally
Requirements:
- Docker Compose (to run the databases)
- Rust Nightly or rustup
- Node.js
- Nodemon:
npm install -g nodemon
Running
- First create a .env from .env.example:
cp .env.example .env - Create a GitHub OAuth app (always configure the redirect URL to
http://localhost:8000/auth/github) - Configure the GitHub Single Sign-On:
GH_CLIENT_ID=<appid>
GH_CLIENT_SECRET=<appsecret>
GH_REDIRECT_URL=http://localhost:8000/auth/github
npm installto install the JS dependenciesmake clientto build the frontend and watch for changes- Run
makeon a separate terminal to build and run the backend and watch for changes
And now you've got a dev environment :tada:!