Skip to content
Snippets Groups Projects
Commit 2d81341c authored by Dean Jukes's avatar Dean Jukes
Browse files

Updated README to match deployment script

parent 9a2cd037
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,10 @@ This folder holds the logic for the website.
- Install Python version 3.10.9
- Ensure that you have the correct version of python selected with `python --version`
- If the response is not `Python Version 3.10.9` or similar, change your active version to the newly installed version
- Navigate to the `pi` directory with `cd cm2305/pi`
- Create the virtual environment with `python -m venv ecosort`
- Activate the environment with `./ecosort/bin/activate` (Linux) or `./ecosort/Scripts/activate` (Windows)
- Navigate to the `pi` directory and install all required libraries with `pip install -r ./requirements.txt`
- install all required libraries with `pip install -r ./requirements.txt`
**Node-Red**
- Install Node-Red with `bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`.
......
#!/bin/bash
source /usr/local/bin/virtualenvwrapper.sh
workon py310
cd ~/cm2305/pi
source ./ecosort/bin/activate
node-red
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment