Initial
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Product Finder Quiz - Quick Start Guide
|
||||
|
||||
## Installation and Running
|
||||
|
||||
### Step 1: Install Python
|
||||
Make sure Python 3.8+ is installed:
|
||||
```bash
|
||||
python --version
|
||||
```
|
||||
|
||||
### Step 2: Install Dependencies
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
### Step 3: Run the Application
|
||||
```bash
|
||||
python app.py
|
||||
```
|
||||
|
||||
### Step 4: Access the Application
|
||||
Open your browser and go to:
|
||||
- **Quiz Page**: http://localhost:8080/quiz
|
||||
- **Main Page**: http://localhost:8080/
|
||||
|
||||
## Stopping the Application
|
||||
Press `Ctrl+C` in the terminal to stop the server.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**"Port already in use" error:**
|
||||
Change the port in `app.py`:
|
||||
```python
|
||||
app.run(debug=True, host='0.0.0.0', port=8081)
|
||||
```
|
||||
|
||||
**Missing modules:**
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
**Templates not found:**
|
||||
Make sure the `templates` folder contains `index2.html` and other HTML files.
|
||||
|
||||
## For Production Deployment
|
||||
|
||||
See the detailed [README.md](README.md) file for deployment instructions.
|
||||
Reference in New Issue
Block a user