Thank you for considering to contribute to ForgeFlux. This documentation is work-in-progress so if you feel something is missing, please feel free to raise an issue or ping a contributor on the ForgeFlux development channel on Matrix!
- Setting up the environment
1.1 Development Dependencies
1.2 Optional Development Dependencies
1.3 Create environment - Task-specific instructions
2.1 Linting
2.2 Adding new Python dependencies - Troubleshooting
3.1 I made changes to libgit but my interface is not picking up changes
3.2 I want to discard my current database and create a new one - Support
4.1 Forum
4.1 Matrix chatrooms
- Python
- Rust
- python virtualenv and pip
- GNU make
-
ForgeFlux Northstar: Northstar is the discovery service that ForgeFlux uses. Interface self-registers with Northstar on startup, so if the developer wants to see Interface in action, installation is recommended.
A minimal deployment configuration is provided via docker-compose.yml. To launch Northstar using
docker-compose
:docker-compose up -d
TODO: document how to configure Interface to work with locally running Northstar instance
We have a Makefile that should setup the environment once the above mentioned dependencies are installed.
make env
Running the following command is recommended before committing changes to the repository
make lint
Optionally, the developer can also use the pre-commit
Git hook found
in pre-commit To install the hook, copy
pre-commit to .git/hooks/pre-commit
cp docs/pre-commit .git/hooks/pre-commit
Makefile contains a subroutine to freeze all Python dependencies:
make freeze
This section documents Interface's quirky behavior
Kindly delete virtual environment(found at the root of the repository in
directory named venv
) and run make env
to recreate the environment.
Delete instance
directory and run make migrate
.
rm -rf ./instance && make migrate
The fine folks at forgefriends, a project with similar goals, are hosting us on their forum. Come join use there to take part in discussions related to the project!
Come say hi at our Matrix space!