Skip to content

Commit

Permalink
Initial commit of configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentIO committed Oct 6, 2024
1 parent 576780c commit 79c096d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,17 @@ export default defineConfig({
text: 'Development Environment'
},
]
},
{
text: 'Configurator',
link: '/configurator/',
collapsed: true,
items: [
{
text: 'Development Environment',
link: '/configurator/development_environment/'
}
]
}
],
},
Expand Down
32 changes: 32 additions & 0 deletions configurator/development_environment/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Development Environment Setup

## Clone the source code from GitHub

Use SourceTree or other application to clone the code from GitHub to a local directory.

## Setup Virtual Environment

Change to the new source code directory:

`cd /path/to/source/`

Create the virtual environment:

`python3 -m venv ./.venv`

::: info
Ensure that the .venv folder is not added to source control.
:::

Use PIP to download and install the prerequisites:

`./.venv/bin/pip install --no-cache-dir -r requirements.txt`

## Development Testing

Launch the code without building a container to test within:

`./.venv/bin/python main.py`


## Creating a Container
7 changes: 7 additions & 0 deletions configurator/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# FireFly Configurator

## Purpose
FireFly Configurator is an easy-to-use Web UI designed to allow full local configuration of the FireFly components. Data is stored within a database and hosted in Docker.

::: info
FireFly Configurator is an optional component, since configuration files can be manually adjusted and pushed to the Controller and Clients. However, using a single web-based UI significantly reduces the effort requried to configure, maintain, and move configurations amongst devices.

0 comments on commit 79c096d

Please sign in to comment.