Last active
June 8, 2016 18:31
-
-
Save philosopherdog/ef38a76e309073aa11f9b1538fb30969 to your computer and use it in GitHub Desktop.
Install Parse to Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Parse to Heroku |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install Parse To Heroku
e.g. http://mycoolapp.herokuapp.com/parse
mycoolapp
to the urltype
pod init
in terminal from the root of your new projectpaste
pod 'Parse'
type
pod install
in terminal after pod initclose your project and open it from the workspace
if using Swift then you need to create a bridging header by first creating a cocoatouch objective c class and accepting the prompt to create a bridging header.
delete the cocoatouch files
add your import into the bridging header
#import <Parse/Parse.h>
follow the quickstart instructions for creating an object here
Add the key
App Transport Security Settings
to the info.plist file. It should be dictionary.Add the value
Allow Arbitrary Loads
, which is a Boolean and make itYES
Run the app.
Check the mongo db by clicking on
mLab MongoDB :: Mongodb
link in the heroku dashboardThe link will probably fail. So, just delete the last part of the path starting with
heroku_...
and you should see your data