Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would somebody please provide a detailed step by step process from download, install, to running on a macOS? #22

Open
Benito9891 opened this issue Nov 22, 2023 · 3 comments

Comments

@Benito9891
Copy link

Benito9891 commented Nov 22, 2023

So far, i've downloaded the zip file.
Unzipped the file.
Moved the unzipped file to my desktop.
typed 'pip3 install -r requirements.txt' into my terminal.
typed 'sudo python3 main.py'.
and nothing.
Trying http://localhost:3000/ and it states it can't be reached.

Thank you again for all your help!

@bow0109
Copy link

bow0109 commented Nov 23, 2023

I've got it running on a mac; is there any sort of error after you run "sudo python3 main.py"?

@Benito9891
Copy link
Author

Benito9891 commented Nov 23, 2023

So my exact process.
I downloaded the codes.
Exracted the zip file.
moved the extracted zip file to my desktop.
opened macos terminal.
typed 'CD'
added a space
dragged the code file from desktop and dropped it into terminal. so the command looks like 'CD /users/Benito/Desktop/Kinesis-main'
Hit enter.
typed 'sudo python3 main.py'
the terminal processed the command and downloaded all the files.
Once it was done. it asked for my password. I typed my password and hit enter.
Then tried to access the 'http;//localhost:3000'
and the browser page stated "it can't be reached, localhost refused to connect"

where am i messing up?

@FreezaSama
Copy link

FreezaSama commented Jan 31, 2024

Step by step done by your friend chatgpt, assuming you have the folder unzipped on your downloads folder:

Sure, I'll guide you through the process. Here's what you need to do step by step:

Open Terminal
You can find the Terminal application in the Utilities folder within your Applications folder, or you can search for it using Spotlight.

Navigate to Your Program's Directory: Use the cd command to navigate to the directory where you've unzipped your program. If it's in your Downloads folder, the command would look something like this:

Copy code
cd ~/Downloads/your_program_folder
Replace your_program_folder with the actual name of the folder that contains the program.

Set Up a Virtual Environment: You will create an isolated Python environment for this project. Run the following command:

Copy code
python3 -m venv ./.venv

Activate the Virtual Environment: Once the virtual environment is created, you need to activate it using:

Copy code
source ./.venv/bin/activate
You'll know it's activated when you see the name of the virtual environment in parentheses before the prompt in your Terminal.

Install Python Dependencies: Install the required Python packages listed in the requirements.txt file with:

Copy code
pip3 install -r requirements.txt
This command must be run in the directory where requirements.txt is located.

Connect Your iOS Device: Connect your iOS device to your Mac via USB and ensure it's in developer mode.

Start the Project: Run the main script of the project with superuser privileges:

Copy code
sudo python3 main.py
You might be prompted to enter your Mac's password because you're using sudo.

Browse to the Web Interface: Once the main.py script is running, open a web browser and go to http://localhost:3000 to interact with the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants