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

Integrate FastAPI with Website, Restructure Project, and Enhance Compatibility #386

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
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
16 changes: 0 additions & 16 deletions 404.html

This file was deleted.

24 changes: 15 additions & 9 deletions Documentation/PROJECT_STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

<!-- START_STRUCTURE -->
```
├── 404.html
├── LICENSE.md
├── README.md
├── SECURITY.md
├── appconfig
├── documentation.html
├── index.html
├── sitemap.xml
├── Documentation/
│ ├── PROJECT_STRUCTURE.md
│ ├── contributing.md
Expand All @@ -16,15 +22,8 @@
│ ├── repo_structure.txt
│ └── styles/
│ └── sitemap.xsl
├── LICENSE.md
├── README.md
├── SECURITY.md
├── appconfig
├── documentation.html
├── index.html
├── installation/
│ └── requirements.txt
├── sitemap.xml
├── software/
│ ├── __pycache__/
│ │ ├── dataVisualization.cpython-311.pyc
Expand Down Expand Up @@ -100,7 +99,14 @@
│ ├── report.py
│ └── tempCodeRunnerFile.py
└── website/
├── pages/
├── main.py
├── routes/
├── models/
├── schema/
├── templates/
| ├── index.html
| ├── documentation.html
| ├── 404.html
│ ├── contributor.html
│ ├── license.html
│ ├── login.html
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dataverse
<img src="website/web_images/3d_glow.webp" height=50px align=right>
<img src="/web_images/3d_glow.webp" height=50px align=right>

###### Data Visualisation Software & Finance Tracker

Expand Down Expand Up @@ -89,11 +89,11 @@ Software Home Page
<br><br>
Visualised Data
<br>
<img src="website/web_images/finance_down.webp" width="800px">
<img src="/web_images/finance_down.webp" width="800px">
<br><br>
Stored Data
<br>
<img src="website/web_images/finance_up.webp" width="800px">
<img src="/web_images/finance_up.webp" width="800px">
</details>
</div>

Expand Down Expand Up @@ -154,20 +154,21 @@ V. Install MySQL if you don't have it already from [here](https://dev.mysql.com/
> [!IMPORTANT]
> Change the values of `DB_HOST`, `DB_USER` and `DB_PASSWORD` in [software/db_config.py](software/db_config.py) file according to your MySQL account.

VI. Run the application:
VI (a). To run the application:

> ```
> python software/main.py
> python software\main.py
> ```

VII. To Run `index.html` (For Website Development)
VI (b). To run the website:

1. Install the **Go Live** extension in VS Code.
2. Open the `index.html` file in VS Code.
3. Click on the **Go Live** button in the bottom-right corner of VS Code.
> ```
> cd website
> uvicorn main:app --reload
> ```

> The default URL will be:
> `http://localhost:5500/Dataverse/index.html`
> `http://127.0.0.1:8000`

Now, the software should run smoothly with no errors, feel free to use the software and don't forget to give feedback on [Dataverse's website](https://multiverse-dataverse.netlify.app/)!

Expand Down
Loading
Loading