This guide helps you set up the Streams project locally. Follow the steps below.
- Ensure you have Git installed.
-
Clone the Repository
git clone [email protected]:testpress/Streams_local_setup.git
-
Navigate to the Project Directory
cd Streams_local_setup
-
Set File Permissions Grant execute permissions to the necessary setup scripts:
chmod +x run_server.sh setup_streams.sh setup_virtualwrapper.sh
-
Run the Virtual Environment Setup Script Run the
setup_virtualwrapper.sh
script to set up the virtual environment../setup_virtualwrapper.sh
-
Activate the Virtual Environment Manually After running the setup script, activate the virtual environment:
workon streams cdvirtualenv
-
Move and Run the Streams Setup Script Move the
setup_streams.sh
script to the current directory and run it:mv setup_streams.sh ./ ./setup_streams.sh
-
Navigate to the Streams Directory
cd streams
-
Create and Configure Environment Variables In the
streams
directory, create a.env
file and add the required environment variables. -
Move and Run the Server Script Move
run_server.sh
to thestreams
directory and start the server:mv ../run_server.sh ./ ./run_server.sh
- Ensure all environment variables in
.env
are correctly configured to avoid setup issues. - The server should start after completing these steps.
Happy coding!