Snakes Facebook app. Have fun!!!
- Mac OS
- Git
-
Create a folder
/projects/Social-Snakes/
-
Create a file
/projects/Social-Snakes/git-clone.sh
with contents:#!/bin/sh git clone [email protected]:acmello/social-snakes.git
-
In terminal, go to folder
/projects/Social-Snakes/
and run the scriptgit-clone.sh
. It will create the folder/projects/Social-Snakes/social-snakes
with all project files inside.
-
Edit Apache's configuration file
/etc/apache2/httpd.conf
adding at the end the following:Alias /social-snakes /projects/Social-Snakes/social-snakes/ <Directory "/projects/Social-Snakes/social-snakes/"> AddType text/html .aspx
DirectoryIndex default.aspx Allow from all -
Start (or restart) Apache with the command:
sudo apachectl graceful
-
Test in your browser the location:
http://localhost/social-snakes/
- You must be an authorized app's collaborator.
- Test in your browser the location (note it's non secure http; only for development and testing purposes it's NOT https):
http://apps.facebook.com/social-snakes
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
# url = [email protected]:acmello/social-snakes.git
url = https://github.com/acmello/social-snakes.git
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name = user
email = user@somewhere
Shortened URL: http://bagu.al/cf
### See also:
https://developers.facebook.com/docs/guides/games/getting-started/
https://developers.facebook.com/docs/appsonfacebook/tutorial/
http://audio.online-convert.com/convert-to-ogg