Skip to content

sachin-panayil/SkyScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SkyScan

A web application that tells you the weather!

Created By:

Sachin Panayil, Steve Roy, David Perez, Zhi Wei Wu, Kamran Sajid

Presentation

https://drive.google.com/file/d/1nIq8giT5OojkFIWAZf2V6TGZcL_eMqEX/view?usp=share_link

To Run

Windows:

o Install Mongo from this link

https://www.mongodb.com/try/download/community

o Follow this tutorial to properly install mongo

https://www.youtube.com/watch?v=oC6sKlhz0OE&t=555s

▪ Only follow up to 8:25

o Start MongoD by running the Mongod.exe program

▪ Should be located here

▪ C:\Program Files\MongoDB\Server\6.0\bin

o Open the client folder on a separate terminal

o Open the server folder on another separate terminal

o Run npm install on both terminals

o After installing is done, run npm run start

Troubleshooting

o If you can’t run your server folder properly, do the following

▪ Go into the server folder

▪ Find db,js

▪ Edit line 4 to

• await mongoose.connect('mongodb://127.0.0.1:27017/weatherapp');

MacOS:

  • Open terminal and run these commands

  • xcode-select --install

  1. (Installing brew)
  • /bin/bash -c "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. (Installing Mongo)
  1. (Optional if error comes up when installing Mongo, run these commands and install mongo again)
  • rm -fr $(brew --repo homebrew/core)

brew tap homebrew/core

  • Start up mongo before npm install and npm start on both folders

  • brew services start [email protected]

  • Start up App

  • Open both folders in separate terminals

  • Run npm install and npm start on server folder

  • Run npm install and npm start on client folder

Troubleshooting:

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/

https://brew.sh/#install

https://stackoverflow.com/questions/70561887/brew-installation-not-a-valid-reference-error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published