lapce-extensions icon indicating copy to clipboard operation
lapce-extensions copied to clipboard

Extension registry for https://lapce.dev

Lapce Registry

Heroku deploy

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

  1. First create a .env from .env.example: cp .env.example .env
  2. Create a GitHub OAuth app (always configure the redirect URL to http://localhost:8000/auth/github)
  3. Configure the GitHub Single Sign-On:
GH_CLIENT_ID=<appid>
GH_CLIENT_SECRET=<appsecret>
GH_REDIRECT_URL=http://localhost:8000/auth/github
  1. npm install to install the JS dependencies
  2. make client to build the frontend and watch for changes
  3. Run make on a separate terminal to build and run the backend and watch for changes

And now you've got a dev environment :tada:!