Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

ninotosh/violettyne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Violettyne is a map + chat iOS application implemented with Google Maps and SIOSocket.

Prerequisites

  • Install Vagrant.
  • Install CocoaPods.
  • Get a Google Maps API key for iOS.

Clone

git clone https://github.com/ninotoshi/violettyne.git

Run the Server

cd violettyne/server ;# under the clone directory
vagrant box add --name ubuntu1504 https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box

Or use your favorite box by modifying "ubuntu1504" in Vagrantfile. Then

vagrant up
vagrant ssh

Execute the following inside the virtual machine after vagrant ssh.

cd violettyne
i=0; while [ $i -lt 8 ]; do echo -n $RANDOM;  i=`expr $i + 1`; done > salt.txt
node index.js

Run the Client

cd violettyne/ios ;# under the clone directory
pod install
echo -n "Your Google Maps API Key" > violettyne/mapAPIKey.txt
open violettyne.xcworkspace

Change the Bundle Identifier according to your Google Maps API Key.

change_bundle_id

Run the application in Xcode.

Simulate a Neighbor

Because this is a chat application, there must be neighbors appearing on the map to chat with.

Access http://localhost:3000/ and input a latitude and a longitude.

location

If a green marker appears on the map, you can click it to start a chat.

You can send messages from within the browser to the app.

message

The following is how to set your photo and nickname.

About

iOS application of Google Maps and SIOSocket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published