Hi everyone,
Coming back to app Dev, I naturally think to meteor
Is there a free hosting platform for personal meteor project ?
I heard about meteor-now, is it still compatible ?
Thanks for you help
Hi everyone,
Coming back to app Dev, I naturally think to meteor
Is there a free hosting platform for personal meteor project ?
I heard about meteor-now, is it still compatible ?
Thanks for you help
meteor is training fast
Sorry, I donāt understand.
What do you mean ?
Iām sorry, I mean the meteor is coming to life again
AWS EC2 1 year free with new accounts (CC required), with your MongoDB in Atlas with the free plan.
You could host Meteor on Heroku using Meteor Buildpack horse:
For mongo you could use the free tier on mongo cloud
Wow, so easy to deploy on Heroku thanks to buildpack-horse !!
Question : How to set MONGO_URL
to use the ādefault localā meteor database ?
meteor-buildpack-horse/README.md at main Ā· AdmitHub/meteor-buildpack-horse Ā· GitHub speak about mongo_url.sh
, but I donāt understand how to use that
You canāt. All deployments are āvolatileā. That means that the containers in which Meteor runs will come and go, destroying your database. You could use MongoDB Atlasās free tier to host your Mongo database on their cloud. My personal preference: https://www.mongodb.com/cloud/atlas
Oh, this is reactivity ! Thx @cloudspider.
Ok, I understand about volatility. Iāll try Atlas.
@cloudspider, thx u, you avoid me lots of headache
Np! Let me know if you face any other issues!
Hi @cloudspider,
I created an Atlas MongoDB.
Connection string from Atlas is :
mongodb+srv://myDbUsername:<password>@myTestapp-b7elw.mongodb.net/<dbname>?retryWrites=true&w=majority
What is the ādbnameā for meteor apps ?
I tried to run
sudo heroku config:set MONGO_URL=āmongodb+srv://myDbUsername:myDbPassword@myTestapp-b7elw.mongodb.net/test?retryWrites=true&w=majorityā
but it fails on Heroku server.
Any clue ?
Did you try to connect from local? 2 things:
Another thing is that its best to create a db via mongo cloud and assign a role for Meteor to connect to it and the oplog of that replica set
I whitelist all connexions for now (0.0.0.0/0).
Connecting and inserting datas from local, with mongo shell, is ok.
Running (from my local bash shell)
sudo heroku config:set MONGO_URL=āmongodb+srv://myDbUsername:myDbPassword@myTestapp-b7elw.mongodb.net/test?retryWrites=true&w=majorityā
generates errors and stop meteor app starting process on Heroku.
Iāll check for Heroku and dig error logs.
Thx @cloudspider
Here we go
Problem was that MONGO_URL var donāt accept assignement with āā (quotation mark).
This is the way to do that (without quotation mark):
sudo heroku config:set MONGO_URL=mongodb+srv://<DbUsername>:<DbPassword>@xxx.mongodb.net/<database>?retryWrites=true&w=majority
Thx to everybody and special love to @cloudspider
Aw haha. Thatās those little details that consumes our time! Great that it works now!
Sorry for my late reply to this thread. I also want to know more about this meteor hosting. Can you please help me here?
Meteor Cloud has a free tier and is the easiest way to deploy a Meteor app, free MongoDB included
You can use Push to Deploy to setup deployment directly from your repository commits: Push To Deploy | Galaxy Docs
FWIW, I wasted so much development time over the years with my self-hosting of Meteor, and while Iām happy with where Iām at now, if I could do it all over again I think Iād have been better off just going with Meteor Cloud. (Although in my defense, itās a better offering now than it was when I started.)