Application Management

Learn how to manage your Go applications with Gophel CLI.

Building Applications

Build and run a Go application:

Build and run an application named 'myapp' on port 8080

gophel build myapp --port 8080

Rebuild an existing application:

Rebuild and restart an existing application

gophel rebuild <ID> --port 8080
Application Control

Start a specific application:

Start a stopped application

gophel start <ID>

Stop a running application:

Stop a running application

gophel stop <ID>

Restart an application:

Restart a running application

gophel restart <ID>
Application Information

List all applications:

View all applications and their status

gophel list

Check application status:

View detailed status of an application

gophel status <ID>
Application Removal

Remove an application:

Remove an application from Gophel

gophel remove <ID>

This will stop the application and remove it from Gophel's management.

Best Practices
  • Use meaningful application names
  • Monitor application logs regularly
  • Check application status before making changes
  • Use appropriate port numbers
  • Keep track of application IDs