Skip to content

Commit

Permalink
Updated the code
Browse files Browse the repository at this point in the history
  • Loading branch information
JonaxPlanta committed Nov 23, 2024
1 parent 71e46b3 commit 786a7e8
Showing 1 changed file with 67 additions and 11 deletions.
78 changes: 67 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,88 @@
This is a DVD screensaver simulator website. It uses HTML, Javascript and Canvas API to generate a Website with a DVD screensaver classic animation.

---
### Dependences
This is **dependences** to run the program:

### Requires
###### Node.js
```
https://nodejs.org/en/download/package-manager/
```
| Name | Download Link |
|------------|------------------------------------------------|
| NodeJS | https://nodejs.org/en/download/package-manager |

### Installing

#### NodeJS
1. Open the **terminal**

- Windows
```
Windows + R : "cmd" or "powershell"
```
- Linux
```
Ctrl + Alt + T
```
2. Insert the following command
```
cd <program-file-path>
```
3. Then
```
npm init -y
```
---
### How to run
1. Download **Index.html**, **Style.css**, **Script.js** files and **Assets** folder
1. Download *Index.html*, *Style.css*, *Script.js* and *assets*
2. Create a folder called **dvd-screensaver**
- In the folder location, insert the following command
```
mkdir dvd-screensaver
```
3. Move **Index.html**, **Style.css**, **Script.js** files and **Assets** folder to **dvd-screensaver** folder
3. Move *Index.html*, *Style.css*, *Script.js* and *assets* to *dvd-screensaver* folder
- In the **terminal**
```
move <file-path> <target-folder-path>
```
4. Open the **dvd-screensaver** folder
- In the **terminal**
```
cd <folder-path>
```
5. Click with the *Right Mouse Button* on **Index.html** file
5. Copy the *Index.html* path and paste in browser
```
file:\\\<file-path>
```
6. Select the *Open with* option and select your *Browser*
- PS.: Remove the Quotation marks from *<file-path>*
7. Wait for the site to load completelly and test it
7. Wait until the site load completelly
#### or acess it with the following URL
##### OR
4. Open the **dvd-screensaver** folder in **File Explorer**
5. Click with the *Right Mouse Button* on *Index.html* file
6. Select the *Open with* option and select a **Browser**
7. Wait until the site load completelly
#### OR Acess it with the following URL:
```
https://jonaxplanta.github.io/DVDScreensaver/
```
### Image Reference
- The **Vectorized Logo Image** can be found in the following link
```
https://pt.m.wikipedia.org/wiki/Ficheiro:DVD_logo.svg
```

0 comments on commit 786a7e8

Please sign in to comment.