Code Monkey home page Code Monkey logo

old-aces-web-dispatch's Introduction

Directions (kind of) in case you don't know how to run the local html file on port 5000.

*Must have entire Git repository folder (because of the firebase.json file, etc)
*Also might need to download node.js (not sure if this is needed)

-cd into the directory
-run "firebase serve"
-go to "http://localhost:5000" in your web browser

Series of commands I use to run it:

Microsoft Windows [Version 10.0.17134.48]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Kyle>cd Documents

C:\Users\Kyle\Documents>cd GitHub

C:\Users\Kyle\Documents\GitHub>cd Dispatch-App-Web

C:\Users\Kyle\Documents\GitHub\Dispatch-App-Web>firebase serve

=== Serving from 'C:\Users\Kyle\Documents\GitHub\Dispatch-App-Web'...

i  hosting: Serving hosting files from: public
+  hosting: Local server: http://localhost:5000

old-aces-web-dispatch's People

Contributors

kyleworkman15 avatar mwardach avatar tranghoang200 avatar

Watchers

James Cloos avatar

old-aces-web-dispatch's Issues

Replace PercentRelativeLayout

PercentRelativeLayout is deprecated and needs to be replaces in activity_map.xml, google_signin_layout.xml, and activity_after_request_ride.xml.

Secure API keys, etc.

For best practice, we should probably create one maps API key for Android, and one for iOS, and restrict each API key's usage to only be for that platform.

Here are some approaches for keeping the API key out of the public GitHub repo.

Android: https://github.com/codepath/android_guides/wiki/Storing-Secret-Keys-in-Android

  • probably go with the "simplest" way, which involves storing the values in a secrets.xml resource file that is .gitignore'd
  • Also, let's upload the secrets.xml file into the private Google Drive folder, and make a note in the developer guide about it, since new developers will need to download this file before their code can compile after cloning the repo.

iOS: https://medium.com/@AyunasCode/how-to-hide-your-api-keys-367ef6589949

  • similar, but create a .gitignore'd Secrets.swift source code file ( that contains all the constants.
  • Similarly, upload Secrets.swift into the Google Drive private folder, and make a note in the Developer guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.