This project makes use of Dev Containers to provide a consistent development environment. To get started with Visual Studio Code:
- Set up Docker with Docker Desktop (Windows/Linux/Mac) or with Docker Engine (Linux).
- Set up Dev Containers in Visual Studio Code by following the Dev Containers tutorial.
- Clone the repo. On Windows, this should be done under WSL for the best compatibility.
git clone https://github.com/kramerc/honeyledger.git - Open the repo in Visual Studio Code:
code honeyledger - Reopen the repo in Container. Visual Studio Code should prompt asking to do so. If it does not, open the Command Palette (
F1) and run Dev Containers: Reopen in Container.
The container will take a few minutes to build for the first time. Once completed, everything should be ready to go.
The development server can be started with:
bin/rails server
Tests can be run with:
bin/rails test