Skip to content

Commit

Permalink
Merge pull request #22 from DeepBlockDeepak/21-add-demo-movie-and-db-…
Browse files Browse the repository at this point in the history
…schema-pic-to-readme

21 add demo movie and db schema pic to readme
  • Loading branch information
DeepBlockDeepak authored Jan 13, 2024
2 parents f220fce + 0522de5 commit ef7f909
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
Empty file added .gitattributes
Empty file.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
Interactive web application for planning road trips, offering information on destinations, activities, cost estimates, and user-specific journey insights. Features secure user profiles for personalized trip planning.

## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites
- Python 3.x
### Prerequisites & Installation
- Python >= 3.10
- [Poetry](https://python-poetry.org/docs/#installation) for dependency management

### Installation
1. Clone the repository or download the ZIP file and extract it.
2. Navigate to the project's root directory.
3. Install dependencies using Poetry:
Expand All @@ -19,26 +17,25 @@ poetry install
```


### Setting Up the Database
## Setting Up the Database and Running the Application
To completely reset the database, use the provided script:
```bash
poetry run python scripts/add_db_data.py
```


### Running the Application
Start the application with the following command:
```bash
poetry run python run.py
```

Access the app by navigating to `http://127.0.0.1:5000/` in your web browser.

## Testing
Run the tests using the following command:
```bash
poetry run pytest
```
## Demo
An example run of the app, showing most features and functionality (**Click image to view video**).
[![Demo](app/static/travel_app_dashboard.png)](https://drive.google.com/file/d/1ajuBFztCUSt-SwGG6n6ECF2s3jMsB2FV/view?usp=sharing)

## Database Schema
![Schema](app/static/travel_app_schema.png)


## Project Structure
Expand All @@ -51,6 +48,13 @@ A brief overview of the project structure is as follows:
For a detailed explanation of the project structure, please refer to the [App Project Structure Wiki](https://github.com/DeepBlockDeepak/RoadTripPlanner/wiki/App-Project-Structure-Documentation).


## Testing
Run the tests using the following command:
```bash
poetry run pytest
```


## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Expand Down
Binary file added app/static/travel_app_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef7f909

Please sign in to comment.