title | shortTitle | href | description |
---|---|---|---|
Contributing to inlang |
Contributing |
/documentation/contributing |
Learn on how to contribute to inlang and its ecosystem. |
Inlang is set up as monorepo with NPM workspaces and turborepo.
Furthermore, the repository makes use of Dev Containers, ensuring that everyone works in the same environment. If you don't use dev containers, we won't be able to support dev-related setup problems.
Make sure you have Git, Docker, Visual Studio Code and the VSCode DevContainers Extension installed. Provide your Docker setup with plenty of memory (>4GB). If you are a Windows user, please read the subsection below.
- Clone inlang's repository.
- Open the repository folder in Visual Studio Code.
- Run
Dev Containers: Reopen in Container
viaCTRL + Shift + P
or⌘ + Shift + P
. npm install
to install dependencies.npm run dev
to run the development environment.npm run test
to run the tests.npm run build
to compile a production build.
Install Windows Subsystem Linux 2 (WSL 2) as well. Make sure that the user has the right to edit files. For Docker Desktop, the user should be node
.
- Start Visual Studio Code.
- Run
Dev Containers: Clone Repository in Container Volume...
viaCTRL + Shift + P
. npm install
to install dependencies.npm run dev
to run the development environment.npm run test
to run the tests.npm run build
to compile a production build.
- Run
npm run dev
. - Several debug launch configs can be found in the VSCode side menu.