You can check out the working demo at http://ec2-3-6-76-229.ap-south-1.compute.amazonaws.com:3000
- Yarn
- Node.js
- npm
- mongodb
Node.js installation
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
This will install node.js and npm
Yarn installation
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
This will install yarn package
MongoDB installation
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org
This will install latest stable version of mongodb
git clone https://github.com/harsh253/Hacking-Homelessness.git
cd hacking-homelessness
npm install
npm install create-react-app
cd server
npm install
cd ../
cd dumpDB
bash mongo_import.sh
cd server
nodemon
- Open a new terminal and navigate to the directory hacking-homelessness.
cd hacking-homelessness
yarn start
If you get an error like 'Something is already running on the port 3000'.
Just type Y and press Enter
The app should be up and running