This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Cloud 9 - c9 #4
Labels
Comments
Thanks, @cliffeby. We'll add this to the docs. |
I did multiple unsuccessful try installing meanjs in c9 using yoman.
I tried the installation multiple times. I had successfully installed meanjs on my local machine using yo generator. |
note, $IP does not work anymore, please use 127.0.0.1 instead of $IP. |
Another update, everything works if you run:
|
Key for me was comment 4 steps, then step 3 & 4 in the ticket. Also not using grunt to start the server but a run task using server.js |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Deploying in the Cloud 9 IDE took some time, but I now have an the framework running. Here are some suggestions to others that want to use Cloud 9 for this MEANjs stack.
$ mkdir data
$ echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod
$ chmod a+x mongod
and start it with a ./mongod (Note it's a dot/) I use a new terminal window (alt T) for the mongod instance.
app.listen(process.env.PORT || 3000, process.env.IP || '0.0.0.0', function(){}
The text was updated successfully, but these errors were encountered: