Simple template repository that can be used for providing reproductions of issues and bugs.
Make sure to read the StackOverflow page on creating a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example
- Fork this repo
- Clone the forked repo
- Edit
index.mts
so it reproduces the issue. Add comments to the code to explain what is happening. - Run your program and check if the issue / bug occurs. (See Running on how to run)
- Follow the installation guides for AFJ for your platform: https://aries.js.org/guides/getting-started/installation/nodejs
- Install dependencies using
yarn install
- Run the program using
yarn start
- Make sure docker is installed on your system: https://docs.docker.com/get-docker/
- Build the image using
docker build -t afj-reproduction .
- If you're on an ARM mac, run
docker build -t afj-reproduction -f Dockerfile.arm .
as the build step.
- If you're on an ARM mac, run
- Run the program using
docker run -it --rm afj-reproduction
You don't have to rebuild when just changing the code in the index.mts
file. If you`re changing dependencies, or other things about the build process, you'll need to rebuild the image.