This web-site gives the count of images in a URL.
- Git
- Python 3.6.8
- pip 9.0.1
- React
- Django
- Install and configure Git
- git clone https://github.com/ArushiSinghal/ImageCount.git
- cd ImageCount
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install python3 (sudo apt-get upgrade python3)
- python3 -m pip install --upgrade pip (Install Pip)
- sudo apt-get install python3-venv (Virtual Environment)
- python3 -m venv myvenv
- source myvenv/bin/activate (Activate Virtual Environment)
- sudo apt install nodejs
- sudo npm i -g npx
- npm config set proxy http://proxy_host:port (For setting proxy, if required)
- pip3 install -r requirements.txt
- Open a New Terminal
- cd frontend
- npm install
- npm run start
- Open a New Terminal and activate virtual environment (source myvenv/bin/activate)
- cd imageurl
- python manage.py migrate
- python manage.py makemigrations
- python manage.py runserver
- Open a New Terminal
- cd frontend
- npm run test
- Open a New Terminal and activate virtual environment (source myvenv/bin/activate)
- cd imageurl
- python manage.py test