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=
GH_CLIENT_SECRET=
GH_REDIRECT_URL=http://localhost:8000/auth/github
npm install
to install the JS dependenciesmake client
to build the frontend and watch for changes- Run
make
on a separate terminal to build and run the backend and watch for changes
And now you've got a dev environment