-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathios-swift-parse-deploy.html
More file actions
122 lines (107 loc) · 4.96 KB
/
ios-swift-parse-deploy.html
File metadata and controls
122 lines (107 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>TopDownU Tutorials</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/2-col-portfolio.css" rel="stylesheet">
<link href="tutorials.css" rel="stylesheet">
</head>
<body>
<div class="header">
<h2 class="tutorialTitle">Deploying your backend server</h2>
<p class="tutorialDescription">in 5 simple steps</p>
<p class="moreTutorials"><a class="moreTutorialsLink" href="http://topdownu.com/tutorials">MORE TUTORIALS</a></p>
</div>
<div class="row">
<div class="row-white">
<div class="padding-box">
<h2 class="stepTitle">Create an App</h2>
<p class="stepParagraph">To create a new app, visit the Heroku Dashboard and select <bold>Create new app</bold> from the drop-down menu.</p>
<img class="stepImage" src="https://s3.amazonaws.com/heroku-devcenter-files/article-images/1470397039-2016-08-05_12-35-57.png"></img>
<h6 class="stepNumber">Step 1 of 5</h6>
</div>
</div>
</div>
<div class="row">
<div class="row-gray">
<div class="padding-box">
<h2 class="stepTitle">Install a MongoDB add-on</h2>
<p class="stepParagraph">Click the <bold>Resources</bold> tab, then select and install the MongoLab add-on.</p>
<img class="stepImage" src="https://s3.amazonaws.com/heroku-devcenter-files/article-images/1454616998-parse-mongolab.png"></img>
<h6 class="stepNumber">Step 2 of 5</h6>
</div>
</div>
</div>
<div class="row">
<div class="row-white">
<div class="padding-box">
<h2 class="stepTitle">Fork repository on Github</h2>
<p class="stepParagraph">To connect the parse-server-example to your Heroku app, you must enable the GitHub integration, and connect the app to the parse-server-example repo.<br/><br/>
When the connection is established, the dashboard will update.
</p>
<img class="stepImage" src="https://s3.amazonaws.com/heroku-devcenter-files/article-images/1454616997-parse-github-connect.png"></img>
<h6 class="stepNumber">Step 3 of 5</h6>
</div>
</div>
</div>
<div class="row">
<div class="row-gray">
<div class="padding-box">
<h2 class="stepTitle">Connect to Github</h2>
<p class="stepParagraph">To connect the parse-server-example to your Heroku app, you must enable the GitHub integration, and connect the app to the parse-server-example repo.<br/><br/>
When the connection is established, the dashboard will update.
</p>
<img class="stepImage" src="https://s3.amazonaws.com/heroku-devcenter-files/article-images/1454616997-parse-github-connect.png"></img>
<h6 class="stepNumber">Step 4 of 5</h6>
</div>
</div>
</div>
<div class="row">
<div class="row-white">
<div class="padding-box">
<h2 class="stepTitle">Deploy</h2>
<p class="stepParagraph">Trigger a manual deployment of the master branch.</p>
<img class="stepImage" src="https://s3.amazonaws.com/heroku-devcenter-files/article-images/1454616998-parse-github-deploy.png"></img>
<h6 class="stepNumber">Step 5 of 6</h6>
</div>
</div>
</div>
<div class="row">
<div class="row-gray">
<div class="padding-box">
<h2 class="stepTitle">Test</h2>
<p class="stepParagraph">If the parse-server-example has been successfully deployed, you will now see, “I dream of being a web site.” <br/><br/>
You can now use the standard REST interface, JavaScript SDK, and any of the Parse open-source SDKs.</p>
</div>
<div class="codeSnippet">
<p class="code">
curl -X POST \ <br/>
-H "X-Parse-Application-Id: myAppId" \ <br/>
-H "Content-Type: application/json" \ <br/>
-d '{}' \ <br/>
https://example.herokuapp.com/parse/functions/hello <br/>
</p>
</div>
</div>
</div>
<div class="row">
<div class="row-gray">
</div>
</div>
<!-- /.row -->
<!-- Footer -->
<footer class="py-5 bg-light">
<center>Copyright TopDownU 2017</center>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper/popper.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>