this post was submitted on 06 Dec 2021
8 points (100.0% liked)

Lemmy

12468 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

As I explore the lemmy code base I'm documenting what I learn for other's so they may find it useful.

I like to mount code into a docker container and run cargo from the terminal.

The docker run instructions for lemmy in the docs are great but it requires a user to rebuild the rust container to see changes.

We can use volumes to just use cargo directly in the terminal.

This repo shows a tutorial of how i'm running lemmy and how you can use vscode to bring up a complete development environment.

It's based on the regular docker environment. The difference being it gives you a complete Arch linux development environment you can mount in the terminal or directly in vscode.

Hope someone finds it useful.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here