Skip to content

Code for app server hosted on Microsoft Azure, written for 2021 NASA Space Apps Challenge: You Are My Sunshine.

Notifications You must be signed in to change notification settings

NASA2021-EcEcursion/POWER_Dips-AzureServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

POWER_Dips-AzureServer

EcEcursion: Andrew Chen, Shu-Yan Cheng, Yun-Hsuan Tsai, Hao Kuan, Yi-Hsuan Lai, Ming-Yi Wei

Code for app server hosted on Microsoft Azure, written for 2021 NASA Space Apps Challenge: You Are My Sunshine.

How To Run

Hosting on Azure

  1. Follow this tutorial to configure your python app for web services.
  2. Then refer to the steps of this link to set up your python app and enviromnent requirements in the virtual machine.
  3. Configure the fetch link in our React Native app link to that of Azure Service provides before build, the server should run properly.

Hosting Locally

  1. You server and your phone must on the same network in order to test locally.
  2. First install all the required packages.
pip install -r requirements.txt
  1. run
python Server.py
  1. You will find that the server runs on a certain IP, and then you can change the "server" varaible in App.js in our app's file into that IP.
  2. Use Expo to build your application and test it.
  3. Voila! Done.

messageImage_1633264095902

Due to our use of Azure student accounts our release version is currently based on local hosting

About

Code for app server hosted on Microsoft Azure, written for 2021 NASA Space Apps Challenge: You Are My Sunshine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages