-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |