Skip to content

Saking-tech/Backend_API_Travel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important information to be communicated for the project

Folder structure:
1. API_approach has all files pertaining to retreiving data internally from used API's
2. Scraping_approach has all files pertaining to retrieving data from scraping
3. Proxy_server has all files pertaining to setting up the proxy network

Commands to run to set up proxy network
1. Do: pip install virtualenv.
2. Then 'cd' into proxy server and do 'python -m venv env', this creates a virtual environment called 'env'.
3. Activate the virutal enviroment by again 'cd'ing into 'proxy_server', and running 'env/Scripts/activate'.
4. Then run 'pip install -r requirements.txt', to install all of the dependencies.
5. Run 'playwright install' to install playwright.
6. In VScode, change the python interpreter to point to 'C:..path to your directory/proxy_server/env/Scripts/python.exe'
7. Now all of the code should work, only thing missing is the .env file needed in the 'proxy_server' directory, reach out to me for that.
8. Only do pip install ... when the virutal environment is activated.
9. To update the list of requirements, run 'pip freeze > requirements.txt'
10. To deactivate the env, run 'deactivate'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published