How to grunt serve a yeoman app in Cloud9 IDE? - cloud9-ide

I've set up an angular site using Yeoman, put it on git, and have cloned the repository in a newly set up Cloud9 IDE workspace. Everything builds and I can run the "grunt serve" command in the CLI. When I try to go to http://localhost:9000 (the default url specified in the grunt file), the page doesn't load.
What do I need to do to get this working in Cloud9 IDE?

I know this is a resolved question but for people running into this now, I'll update it a bit.
If you want to run a server on your Cloud9 hosted workspace, you need to bind it to 0.0.0.0:8080, so IP=0.0.0.0 and PORT=8080 not localhost:9000.
You can update your gruntfile to make it work.

Related

Running the three.js editor from local files

I recently downloaded the three.js-master files which included the three.js editor. How do you run the editor from the files?
Ensure node.js is installed.
Open a console and navigate to the root directory of the repository.
Execute npm i to install package and its dependencies.
Start a local dev server via npm start.
Open the editor via http://localhost:8080/editor/.

Debug Bot Framework Composer with Visual Studio Code

I would like to run the Microsoft Bot Framework Composer on my local machine in Chrome as a web application with debug configuration and attach Visual Studio Code's debugger to it to debug the changes I've made to the code. What is the best way of doing that?
I know that I can run the application locally with these steps (from the official README):
$ git clone https://github.com/microsoft/BotFramework-Composer.git
$ cd BotFramework-Composer
$ cd Composer // switch to Composer folder
$ yarn install // install dependencies
$ yarn build // build extensions and libs
$ yarn startall // start client and server at the same time
But as I see, this is starting the app with production configuration, so attaching a debugger to it wouldn't make too much sense. I think there must be an easy, pre-configured way of doing this (I mean the dev team must be doing this pretty often :)), I just struggle to find it in the official repository.

How can I run the ARCore three.ar.js examples on a local server and my phone?

I've tried forking and cloning the three.ar.js GitHub repo, then cd'ing in and running 'npm run dev' as suggested in the README, but no matter what I do, I get all kinds of problems. Any help would be great!
npm install http-server
run http-server in the examples folder.
What i did was just copy the example project to my domain, install the WebARonARCore browser on my phone with ADB, paste the URL to the html file in your webARonARCore browser and it works like a charm.
I can even do remote debugging with my chrome browser (only seems to work while my android studio is running and the phone is attached via USB ofcourse).
But this is on an external/remote server though. Don't know about local.

How to run existing meanjs project on mac pc?

I have two meanjs projects created on my mac pc using terminal command prompt. One is New1 and another is Old1. but when I run command 'grunt' on terminal then only newly created New1 is running.
I am new at meanjs development that's why I don't know how to run my old meanjs projects on mac pc.
Can anyone help me?
It depends in the generator/scaffolder that you used. But for yeoman based projects exists the convention of use:
grunt serve: For development preview of the app with livereload.
grunt test: For test running.
grunt: For production build of the app.
With Projects managed by Gulp task runner it is the same but replacing grunt command with gulp command.
Well I think I have figured out my problem.
I need to point the directory to the expected project directory then need to run the 'grunt' command on terminal then the expected project will be started.

How to install and run odoo project from github on ubuntu?

I have installed odoo11 on ubuntu (via parallels on mac) and the odoo server is up and running fine.Now my client asked me to install his odoo project on my pc. He gave me the github repo link and i dont know how to go about from here. Should i just copy the custom modules or clone the entire project? If i clone the entire project, how do i run the odoo service from there?
I am new to odoo so i need some guidance on this.
Thanks
Click here to see the odoo server image
Click here to see the github project files
When you are running an Odoo instance, your have to mention a config file in the executable command with -c or --config option. In this config file there is a derivative addons_path.
All you have to do is to clone the repository, and add the directory of addons (from the look of your screenshots, custom, enterprise, inception_modules, nerku, softtech) in the addons_path of your config file. after that, you will find your client addons in Odoo application apps page. For more information, you can follow the official documentation.

Resources