Skip to content

schagsim/image_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Finder User Study

Running the app locally on Windows

git clone git@github.com:schagsim/image_finder.git C:\path\to\project\folder

Install Python 3.9.4

  • You can use Miniconda to manage Python versions
  • You can also download multiple Python versions and use the specific python.exe for 3.9.4

Make sure your Python is a correct version

> python --version
Python 3.9.4

Using the Python 3.9.4 you installed, create virtual environment in image_finder project.

python -m venv C:\path\to\project\folder\venv

This will create a virtual environment for our project in the project folder.

Activate the virtulan environment

C:\path\to\project\folder\venv\Scripts\activate

Install requirements for the project

python -m pip install -r .\requirements.txt

Running the app in Docker container

Install docker on you local machine.

Go to web app folder C:\path\to\project\folder\image_finder_web

Build the docker image

docker build -t image_finder_web .

Run the docker image

docker run -d --name image_finder_web_container -p 5000:5000 image_finder_web

To stop the docker container, use following command

docker kill image_finder_web_container

Running the app without Docker container

Go to web app folder C:\path\to\project\folder\image_finder_web

python -m flask run

Both for Docker and no-Docker run, you can now go to http://localhost:5000/ (this address might get outdated eventually) and see the web.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published