A web form that sets up a LabConstrictor app repository for you, so that you do not have to edit its files by hand.
-
Open the form: https://labconstrictor-form.streamlit.app
-
If you find the following window, click on
Yes, get this app back up!
-
When you arrive to the following page, chose between
Initialise a repositoryorUpload or update notebooks, please take a look into What it does for further information
The form opens a pull request on your repository; you review and merge it. It needs a GitHub Personal Access Token (classic). It can:
- Initialise a repository made from the LabConstrictor template. You give the project name, the first version, whether code cells are hidden, and optional welcome, header and icon images. The form fills in the template, converts the icon, writes a starter README and, if you describe your app, the
labconstrictor-app.yamlfile that lists it in the App Centre. - Upload or update notebooks. Each notebook goes to
notebooks/<name>/together with itsrequirements.yaml.
The guides on the LabConstrictor website show where the form fits into making an app, step by step.
Questions and bugs: the issue tracker.
Run the form on your computer (needs Python and git; the automated tests use Python 3.11):
pip install -r requirements.txt
streamlit run app.py
Run the tests:
python -m unittest discover -s tests -v
The test that initialises a copy of the template is skipped unless LC_TEMPLATE_DIR points to a clone of CellMigrationLab/LabConstrictor.
Where things are: app.py is the form, placeholders.py fills in the template, manifest_form.py and app_manifest.py write labconstrictor-app.yaml, and schemas/README.md says where the manifest schema comes from.
License: MIT.