Command Line Gogo Shell

If you’re in a development environment, you can interact with the module framework locally from the command line.

Warning

Gogo shell should only be run from the command line in development environments. In production environments, run Gogo shell in the Control Panel, as demonstrated in Using the Gogo Shell .

Prerequisites

Gogo shell on the command line requires that the server is running in Developer Mode. You can enable Developer Mode on the server in Developer Studio or by setting the following Portal Property:

include-and-override=portal-developer.properties

Executing Commands

You can execute Gogo shell commands using Blade CLI or a telnet session.

Using Blade CLI

You can execute individual commands using Blade CLI:

blade sh [Gogo shell command]
blade sh [another Gogo shell command]
...

Using a Telnet Session

You can execute commands in a telnet session:

  1. Open a session:

    telnet localhost 11311
    
  2. Execute Gogo shell commands.

  3. When you’re done executing commands, execute the disconnect command to end the session.

Warning

DO NOT execute the following commands. They stop the module framework.

  • close
  • exit
  • shutdown

Conclusion

Now that you know how to run Gogo shell from the command line, explore the available Gogo shell commands. If you need Gogo shell in a production environment, see Using the Gogo Shell.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy