... | ... | @@ -31,7 +31,31 @@ |
|
|
<br>
|
|
|
|
|
|
**ReadMe:**<br>
|
|
|
In the master branch, the ReadMe.md indicates that<br>
|
|
|
How to run:
|
|
|
|
|
|
Use **git clone https://git.cs.usask.ca/yol474/cmpt370-fantastic-4.git** in the command line
|
|
|
|
|
|
Requires **nodeJs** to run.<br>
|
|
|
|
|
|
Run the following commands inside the **air370proj folder** containing the
|
|
|
app.js file, the database, and the views folder.<br>
|
|
|
|
|
|
**npm init <br>
|
|
|
npm install sqlite3<br>
|
|
|
npm install express<br>
|
|
|
npm install ejs<br>**
|
|
|
|
|
|
|
|
|
Finally, run **'node app.js'** in the terminal to start the server. <br>
|
|
|
The localhost will be listening at: http://localhost:2020/search
|
|
|
|
|
|
**Current Restrictions**
|
|
|
|
|
|
Only direct flights can be used currently the other options will refresh page.<br>
|
|
|
Examples of available flights for testing:
|
|
|
* Calgary to London
|
|
|
* Saskatoon to Calgary
|
|
|
* Calgary to Paris
|
|
|
<br>
|
|
|
|
|
|
**Action Plan**<br>
|
... | ... | |