-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from JinneGeelen/feature/v2
Merge feature/v2
- Loading branch information
Showing
53 changed files
with
589 additions
and
16,730 deletions.
There are no files selected for viewing
File renamed without changes.
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,2 @@ | ||
ui/dist | ||
ui/node_modules |
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,21 @@ | ||
# Installation Camera Modules | ||
|
||
1. Download the [custom camera image](4TU?) file to build the camera module operating system on the SD cart. | ||
Note! The camera modules are installed one-by-one. Finish all steps for camA before you continue to install camB. | ||
2. Add the custom image to one of the SD carts with [Raspberry Pi Imager](https://www.raspberrypi.com/software/) | ||
3. Connect power supply and insert the SD cart into the Pi | ||
4. Change the hostname from 'cameraX' to the preferred incremental name in order of installation. | ||
5. Check/Choose/Fix the IP address of the module (TBD) | ||
6. Choose prefererred username and password for your controller | ||
1. Enter `sudo raspi-config` in a terminal window | ||
2. Select `Change user password` | ||
The default user on Raspberry Pi OS is `pi` with the password `raspberry`. You can change that here. | ||
3. Set the visible name for this Pi on a network | ||
4. Add Remote Access | ||
1. Enter `sudo raspi-config` in a terminal window | ||
2. Select Interfacing Options | ||
3. Navigate to and select SSH | ||
4. Choose `Yes` | ||
5. Select `Ok` | ||
6. Choose `Finish` | ||
5. Enable/disable the CSI camera interface. |
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,23 @@ | ||
# Installation Controller | ||
|
||
1. Download the [custom controller image](4TU?) file to build the controller operating system on the SD cart. | ||
2. Add the custom image to one of the SD carts with [Raspberry Pi Imager](https://www.raspberrypi.com/software/) | ||
3. Connect power supply and insert the SD cart into the Pi | ||
4. Choose prefererred username and password for your controller | ||
1. Enter `sudo raspi-config` in a terminal window | ||
2. Select `Change user password` | ||
The default user on Raspberry Pi OS is `pi` with the password `raspberry`. You can change that here. | ||
3. Set the visible name for this Pi on a network | ||
3. Add WiFi settings | ||
1. Enter `sudo raspi-config` in a terminal window | ||
2. Select Networking Options | ||
3. Navigate to and select WiFi Settings | ||
4. Fill in the credentials of your WiFi network | ||
4. Add Remote Access | ||
1. Enter `sudo raspi-config` in a terminal window | ||
2. Select Interfacing Options | ||
3. Navigate to and select SSH | ||
4. Choose `Yes` | ||
5. Select `Ok` | ||
6. Choose `Finish` | ||
5. Enable/disable the CSI camera interface. |
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,12 @@ | ||
FROM python:3.9-buster | ||
|
||
RUN apt-get update && apt-get install -y gcc libpq-dev | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt /app/requirements.txt | ||
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | ||
|
||
COPY . /app | ||
|
||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,12 @@ | ||
RPi.GPIO | ||
databases | ||
uvicorn[standard] | ||
starlette | ||
sqlalchemy | ||
asyncpg | ||
pyyaml | ||
rx | ||
psycopg2 | ||
shortuuid | ||
gpiozero | ||
|
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
FROM raspbian/stretch | ||
FROM balenalib/raspberry-pi-python:3.7-buster | ||
|
||
COPY camera camera | ||
WORKDIR /app | ||
|
||
CMD [ "./camera" ] | ||
ENV READTHEDOCS=True | ||
|
||
COPY ./requirements.txt /app/requirements.txt | ||
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | ||
RUN apt update && apt install -y gpac --fix-missing | ||
|
||
COPY . /app | ||
|
||
CMD ["python3", "app.py"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.