Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thank you for your guide. I have followed it step by step, omitting the ssl part as we’ll be using http.
When I try to call Parse server on my droplet using my appId i get always get a 404. If I don´t provide the appId a just get {“error”:“unauthorised”}
Can you help point me in the right direction?
This looks great Brennen! :)
Thanks a lot for all the work involved, I hope to give this a test soon.
Just a small note, under “Reading Data with a GET”, in the first example text, you have your testing domain instead of “<your_domain>”. Might trip people copy/pasting who don’t see it :)
I keep getting
script not found: /usr/bin/parse-server
Any way to fix this? This is the only thing stopping the server from running
I setup my parse server according to Parse’s website, then I found this article and followed the instruction to setup Nginx so I can communicate using HTTPS. However, I found some strange behaviour and wondering if you can provide some insight.
I am certain that I am hitting my Parse server as if I turn my server off the GET will receive a different response. Also, if I define a route in my index.js (as according to Parse’s example) I can actually reach it, for example, with the following code inserted in index.js (again, as according to Parse’s example), I get the desired response: app.get(‘/’, function(req, res) { res.status(200).send(‘I dream of being a web site.’); });
Wondering if you have some insight into this strange behaviour.
Thanks!
Thanks for this tutorial. I have managed to get all the way through, up to the last step. When I call my cloud functions or https://mydomain.com/parse I only get 502 Bad Gateway response.
When I run tail -f /var/log/nginx/error.log
I get
2016/02/24 07:04:34 [error] 15253#0: *5 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: mydomain.com, request: "GET /parse/functions/hello HTTP/1.1", upstream: "http://127.0.0.1:1337/functions/hello", host: "mydomain.com"
In order to make Push Notification work, I had to go into my parse-server (/usr/local/bin/parse-server) and add something like:
options.push = {
"ios": [
{
"pfx": '/home/parse/mycert.p12',
"bundleId": 'my_bundle',
"production": false // Dev
}
]
}
Is there a way to do this in ecosystem.json?
Thanks in advance!
I finished this tutorial and everything works except cloud code. When I do a query in my cloud code the code just stops. When I Executed Example Cloud Code from this tutorial It worked well. Any help would be appreciated… The problem is not with just this query, everytime I set a query in cloud code it just stops… not even going to Success or Error
Parse.Cloud.afterSave("_User", function(request) {
var user = request.object;
query = new Parse.Query(Parse.Role);
query.equalTo("name", "Standard");
console.log("the code just stops here...");
query.first ( {
success: function(object) {
object.relation("users").add(user);
object.save(null, { useMasterKey: true });
},
error: function(error) {
console.log("Shit");
}
});
});
Thank you for this amazing guide. I have followed every step (i left encryption part away, don’t need it for the time being). i 've managed to migrate from Parse to my mongodb with success. The problem is that it seems impossible to get to the parse server. i’ve configured ecosystem.json with my application’s info then run pm2. the daemon seems good but still i can’t see any proccess listening to 1337 or 80 (80 wouldnt work i’ve skipped nginx). so i cannot test it properly. any kind of help would be so much appreciated! Thank you in advance
I used this article to install parse server & migrate. I am able to run the curl command in the localhost:1337 and it works like a charm. However when I run from outside the server I get Cannot POST /functions/hello - I looked up the nginx logs and I see a 404. Nginx config is exactly the same as described in this post.
Any help would be greatly appreciated. Thanks!
Thanks for tutorial. I need to validate User list. How one lists _User and _Role collections?
show collections Game _Role _SCHEMA _Session _User _dummy db._User.find() 2016-03-24T14:43:22.310-0400 E QUERY [thread1] TypeError: db._User is undefined : @(shell):1:1