- Install Node.js 6.x (or higher)
- Python version 2.7
- After cloning the repo navigate to
dronesym-node
folder - Run
npm install
to pull the dependencies - Create a firebase admin sdk private key following the instructions found here: https://firebase.google.com/docs/admin/setup#add_firebase_to_your_app
- In
db.js
file provide the path to your firebase key file and the database url - Run
npm start
to start the Node server
- After cloning the repo, navigate to the folder dronesym-python
- Run
sudo pip install -r requirements.txt
to pull the dependencies - Navigate to
dronsym-python/flask-api/src
folder - Run
python main.py
to start the Flask server Note: Node server should be running when starting up the Flask server
Make sure that you have Node6.x or higher version installed
Install AngularCLI
$ npm install -g @angular/cli
Set environmental variable in ./dronesym-frontend/src/environments/environment.ts
mapsApiKey: 'YOUR_GOOGLE_MAPS_API_KEY',
nodeApiURL: 'http://localhost:3000/dronesym/api/node',
feedURL: 'http://localhost:3000/feed'
Note: Dronesym Node server (./dronesym-node/
) and DroneSym Flase server (./dronesym-python/flask-api/src
) should be running before starting the frontend server_
Starting the Angular2 development server
$ npm install
$ ng serve