Running AdonisJS on C9.io

338 views Asked by At

I'm trying to create a new Node.JS app using the Adonis framework. I'm using c9.io as my IDE.

I've succesfully installed everything and created a new project. But when I run it (using npm run dev) c9.io keeps showing me the "No application seems to be running here!" message.

The .env file is set for port 3333 for default. But I also tried changing it to 8080, and nothing changed.

Anyone managed to run AdonisJS on c9.io before? Thank you!

2

There are 2 answers

0
Brady Dowling On BEST ANSWER

Make sure you are running the app on 0.0.0.0, not localhost. Localhost won't work on Cloud9 so you'll need to use 0.0.0.0 or process.env.IP (which will usually be the same thing).

0
Devitgg On

I created a github for installing AdonisJS on c9 for anyone using this Framework on Cloud 9, as I imagine more people will run into issues installing Adonis on c9.

https://github.com/Devitgg/Cloud9-Adonis-JS-Framework-Installer