pythonanywhere with mlab(mongoDB) - mongodb

when I try to connect to my application deploy at Pythonanywhere database does not working, its seems that he can't reach to him.
when I am using my computer and run the app all seems to be perfect.
any one any ideas?
Thanks very much.

Hey after checking out I found that pythonanywhere required paid plan in order to use mlab services, or others services.

Related

Deploy Sveltekit on own Windows/Linux Server?

I am almost done with my first Test Sveltekit Application and want deploy the App in the next Days in my private Network. When I google for this I get flooded with "Deploy to Vercel, Netlify.... and so on" but I dont see much for deploying it the Application to an Server.
Can somebody explain what to do? The Application uses Endpoints.
You would likely want to run it through a Node server, for this you can use the adapter-node package, see the documentation for it for more information.
https://github.com/sveltejs/kit/tree/master/packages/adapter-node

Swisscom Cloud DB Backup fails

We are using a MariaDB and a MongoDB (single instance) service in the Swisscom App Cloud.
If i try to create a backup with the backup button, it starts to create one, but fails after a few minutes.
Also, if i try to delete the failed entry, the deletion fails as well.
The interface provides no further information about the reason.
This happens for MariaDB as well as for MongoDB.
What could be a possible reason and how am I able to debug this error? Where can I get further information about the error?
screenshot of Portal:
Simon here from the App Cloud Team.
There was an issue in the backend which we fixed this morning, so your backups should now work again.
Sorry for the inconvenience.
I developed a CF CLI plugin for DB backups (MariaDB) in Cloud Foundry, called "cf-mariadb-backup-plugin", that also works in the Swisscom App Cloud. Check it out here, and give it a star. ;-)
If you use such plugin it presents the error message catch directly from the Cloud Foundry API. This might provide you, at least, better reasons on why such actions are failing.

Changing Meteor Servers

I'm working on switching my Meteor app from Galaxy to AWS, and it's currently running on both, linking to the same MongoDB, with the same user, but users created on the Galaxy server, can't login on the AWS server. Does anyone know why and how to fix it?
Figured it out, just had to change "setupMongo" to false.

How do I set-up Rest API to the Mongodb installation on my Mac Pro

I'm developing a Google Apps Script application and I want to have a MongoDB backend to the application. Currently I am using a Mongolab sandbox account and successfully interacting with the collection on the Mongolabs servers. The performance is very good and the support at Mongolabs has been excellent.
That said, long-term I've decided to host my own Mongodb on my Mac Pro that is currently running Yosemite. I already have Mongodb installed and its working fine.
My Question: How do I use (install/configure/establish) a Rest API (or other means) to connect with my locally installed Mongodb database. I have spent a couple hours on 10gen's site and on Google trying to figure it out, but I have not quite gotten there. Does anyone have experience doing this or something similar that might be able to share your experience or at least refer me to a good resource.
Thanks in advance for you help.

Deploying Meteor App to own server

I have a completed meteor project and is currently deployed on the meteor website. I would like to move it to my own website, which is currently hosted by GoDaddy.
How do I install Node and Mongo on my server (linux) and then run my meteor project? I received ssh access to my server, so I assume I can do this, but I'm just not sure how.
So how exactly do I proceed?
Additional Info:
I'm not exactly sure what of linux it is. On GoDaddy, it simply says linux.
When I ssh, it shows me:
-bash-3.2$:
Also, I having my website simply show the myapp.meteor.com webpage would work too. An explanation on how to do this would work.
Discover Meteor has a chapter on deployment which helps to answer this question. For ubuntu-based servers they recommend meteor-up. I haven't used it, but it's probably worth checking out. Previous versions of the book recommended meteoric.
I wrote my own set of bash scripts using a few ideas from meteoric, but I already had a lot of experience doing deployment scripting. Frankly there's nothing quite like figuring it all out yourself, but doing sysadmin tasks doesn't appeal to everyone and it can be hard to pick up in a hurry.