One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # Google's Language Map | |
| ach : Acoli | |
| af : Afrikaans | |
| ak : Akan | |
| am : አማርኛ | |
| ar : العربية | |
| az : azərbaycan | |
| ban : Balinese | |
| be : беларуская | |
| bem : Ichibemba |
| // | |
| // ViewController.swift | |
| // SwiftJSONParsingDemo | |
| // | |
| // Created by Ashish Kakkad on 12/10/16. | |
| // Copyright © 2016 Kode. All rights reserved. | |
| // | |
| import UIKit |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| // Do any additional setup after loading the view, typically from a nib. | |
| let urlPath = "http://telize.com/geoip" | |
| let url = NSURL(string: urlPath) | |
| let session = NSURLSession.sharedSession() | |
| let task = session.dataTaskWithURL(url!, completionHandler: {data, response, error -> Void in | |
(wherever it says url.com, use your server's domain or IP)
Login to new server as root, then add a deploy user
sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deployAnd Update the new password
##Setup your server (this would ideally be done with automated provisioning)
npm install -g forever##Install flightplan
npm install -g flightplannpm install flightplan --save-dev###Prerequesites
Install flightplan globally
npm install -g flightplan
Install flightplan in your project folder