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

Removed GO files #32

Merged
merged 4 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 24 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,45 @@ A **lower Price/Review Score** indicates that the place is **not expensive**, ye
## How to Use the Web App

### Step 1: Set Up the Web App
1. **Install Docker Desktop**
- [Click here](https://www.docker.com/products/docker-desktop) to download Docker Desktop.
1. Install Docker Desktop
- [Click here](https://www.docker.com/products/docker-desktop) to download **Docker Desktop**.
- Follow the instructions on the website to install it on your computer.
2. Download Web App Assets
- Click here to [Click here](https://github.com/sakan811/Find-the-Best-Place-to-Stay-with-Price-per-Review/releases/download/v8.0.3/find-place-web-app.zip) to download the web-app assets.
- Extract the ZIP file.
2. Download Docker Compose File
- Download the [docker-compose.yml](docker-compose.yml) file from this repository.
- Place the file in the directory of your choice.

### Step 2: Find Your User Agent
1. **Find Your User Agent**
- Open your web browser and go to [What Is My Browser](https://www.whatismybrowser.com/detect/what-is-my-user-agent/).
- You will see a message that shows your User Agent. **Copy this text.**
- You will see a message that shows your User Agent.
- Copy the User Agent.

2. **Edit the Configuration File**
- Open the `docker-compose.yml` file you extracted from the ZIP file in a text editor (like Notepad).
- Open the `docker-compose.yml` file in a text editor (like Notepad).
- Look for the line that says `USER_AGENT`. Replace `your_user_agent` text with the User Agent you copied.
- Save the file and close the text editor.

### Step 3: Access the Web App
1. **Start the Web App**
- Make sure that the Docker Desktop is running.
- If not, start the Docker Desktop.
- Double-click the executable file:
- **Windows:** Double-click `app-windows.exe`
- **macOS:** Double-click `app-mac`
- **Linux:** Double-click `app-linux`
2. **Check the Terminal**:
- A terminal window will open, indicating that the web app is starting.
You should see messages in the terminal that confirm the app is launching.

3. **Access the Web App**
- Open the terminal
- Use the `cd` command to go to the folder where you saved the `docker-compose.yml` file.
Example:
```bash
cd /path/to/directory
```
- Run `docker-compose up` to start the web app.

2. **Access the Web App**
- Open your web browser and go to: [http://localhost:5000/](http://localhost:5000/)

### Step 4: Exit the Web App
- Press `Enter` as prompted in the terminal.
- Alternatively, you can open Docker Desktop and stop the container from the **Containers** section.
### Step 4: Stop the Web App
1. **Open Docker Desktop**
- Go to the **Containers** section.

2. **Stop the Container**
- Find the running container for the web app and click **Stop**.

## Disclaimer

Expand All @@ -65,4 +69,4 @@ A **lower Price/Review Score** indicates that the place is **not expensive**, ye
- If you leave this box unticked, the scraper will retrieve information on all types of places available through Booking.com in the specified city.

- When entering the **country** in the form, please provide the **full name** of the country.
- **Do not** use abbreviations.
- **Do not** use abbreviations.
File renamed without changes.
61 changes: 0 additions & 61 deletions exe/exe.go

This file was deleted.

3 changes: 0 additions & 3 deletions exe/go.mod

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@types/axios": "^0.14.0",
"@vitest/expect": "^2.0.5",
"axios": "^1.7.2",
"axios": "1.7.4",
"globals": "^15.9.0",
"react": "^18.3.1",
"react-bootstrap": "^2.10.4",
Expand All @@ -42,7 +42,7 @@
"style-loader": "^4.0.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.6.0",
"vite": "^5.4.0",
"vite": "5.4.6",
"vitest": "^2.1.1"
},
"description": ""
Expand Down