We offer two options for container-based development.
- VS Code with Devcontainer
- Containerized setup with
Due to the way our we setup our
docker-compose up command is not support. Please checkout the "Containerized setup with
dip gem option"
If you encounter any errors with our Container setup, please kindly report any issues!
VS Code with Devcontainer
Forem support VS Code's Devcontainer. Devcontainer is a flexible containized development environment with all the required dependencies set up in under 15 minutes on most modern machine.
- Download and install Docker Desktop from the Docker's official site
- Download and install VS Code with the dev container extension
- Fork and clone our Forem repository into your preferred directory. For Window's WSL users, please make sure you place the Forem repository within the linux layer for optimal file loading speed.
- Open up the repository with VS Code and you should be prompted with
Rebuild and reopen in container. If you don't see it, you can find it in the command line palette ,
Dev Containers: Rebuild and Reopen in Container, and you're ready to go!
For additional information on Devcontainer, please checkout the offical documentation
Containerized setup with
dip gem makes it simple to run docker commands and is the main way we use to interact with
- Fork and clone our Forem repository into your preferred directory.
- Make sure you have Ruby installed and avaliable. You may use the system provided Ruby or you can install it with a version manager such as
gem install dip
dip provisionto build images and download dependencies.
dip rails sto start the server.
For more commands, run