GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.lando.dev — Development Development This guide contains information to help onboard developers to work on the node integration, hereafter referred to as the plugin. Requirements At the very least you will need to have the following installed:
Installation sh Working This plugin contains various working and tested Lando apps in the examples folder. You should use these or create new ones to help with plugin development. Note that each one of these examples contains the following section in its Landofile. yaml This tells Lando that this app should use the source version of the This means that you should almost always develop against apps in the yaml Whether you are working off an existing example or a new one you should make sure that you are updating or adding new tests as you go. See leia testing below for more detail. Documentation If you want to help with contributing documentation here are some useful commands once you've cloned and installed the project. bash If you are more interested in the internals of the docs they use VitePress and our SPECIAL THEME. Testing It's best to familiarize yourself with how Lando does testing in general before proceeding. Unit Tests Generally, unit testable code should be placed in bash And then you can run the tests with the below. bash Leia Tests We do end to end testing with our made-just-for-Lando testing framework Leia. Leia allows us to define tests as a series of commented shell commands in human readable markdown files. Here is a simple example: md Note that the headers here are important. The Start up tests header specifies things that should run before the main series of tests. Verification commands is the main body of tests and is required. Destroy tests specifies any needed clean up commands to run. If you check out the various READMEs in our examples you will notice that they are all Leia tests. Before running all or some of the tests you will need to generate them. bash If you've created new testable examples then you will also need to let GitHub Actions know so they can run on pull requests. To do that you will either want to add the tests to an existing workflow that makes sense or create a new workflow. If you are creating a new workflow you should just copy an existing one and modify the filename and To add the new tests to the workflow just modify yaml Now open a pull request and the new tests should run! For a deeper dive on Leia you can go here. Releasing To deploy and publish a new version of the package to the Also note that if you create a "pre-release" it will tag the bash Contribution If you want to contribute code then just follow this flow. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |