To create a Ruby on Rails app on Esadax, follow these organized steps:
-
Access Ruby on Rails Section:
- Navigate to the Ruby on Rails section in your control panel.
-
Create a New Application:
- Click on "Create Application."
- Fill in:
- App Name: Enter your application's name.
- Application Path: Specify the path where your app will be hosted (e.g.,
/myapp).
- Select the environment (choose "Development" for testing).
- Decide if the app should load on server boot.
- Click "Create."
-
Configure Rewrite for Port Settings:
- Go to "Create A Rewrite."
- Click "+Create Rewrite" for your new app.
- Choose:
- Domain/Subdomain: Select where your app will be hosted (e.g.,
example.com).
- Page Name (optional): If using a subpath, enter the URL segment (e.g.,
/myapp).
- Save the rewrite settings.
-
Verify and Manage Rewrites:
- Check "Current Rewrites" to see your app's URL.
- Adjust the path if needed or delete the rewrite later.
-
Start the Application:
- Set the app status to "Running."
- Open the generated URL in your browser to view the Rails welcome message.