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.
You must log in or register to comment.