GETTING STARTED
- Pull the GitHub repository onto your local machine. Please ensure that the branch of the repository being pulled is
master
; this is the main branch with all of the functioning code. - Ensure that
node.js
is downloaded on your machine and thenpx
command is working. - Change directory to project folder ($cd FindAChamp)
- Change directory to Machine Learning ($cd “Machine Learning”)
- Install the machine learning requirements ($pip install -r requirements.txt)
- Run $python creatingModel.py to save the model
- Change host in app.py to be set to your IP Address
- Run python app.py when the model is saved to start the server
- Go back to the parent directory ($cd ../)
- Run in terminal: $ npm install
- Change the url of the post request in ImageTaken (in src/components) to http:// Your IP ADDRESS:5000/mushroom
- Run
npx expo start
in the terminal. - Download the
Expo Go
app on your mobile device. - Note: An Android or Apple device may be used, but the app is intended for Android functionality. Therefore, some of the App’s features and layout may be omitted from iOS devices.
- Scan the QR code in order to access the server
- Alternatively: input the address to the app.
- usually in the format {expo:// $$$.$$$.$.$:PORT}
Developer note: Repository from which REST API and other backend modules run can be found at the following link: https://github.com/TamirPol/FindAChampBackendAPI Developers: Tamir Polyakov, Nizamullah Ansari, Khalid Bedir