Edit the heroku welcome to your new app
The classic Heroku welcome message!
To edit the Heroku welcome message for your new app, you can follow these steps:
Method 1: Using the Heroku CLI
- Open your terminal and navigate to the directory where your app is located.
- Run the command
heroku config:set WELCOME_MESSAGE="Your new welcome message here"
(replace "Your new welcome message here" with your desired message). - Verify that the message has been updated by running
heroku config:get WELCOME_MESSAGE
.
Method 2: Using the Heroku Dashboard
- Log in to your Heroku account and navigate to your app's dashboard.
- Click on the "Settings" tab.
- Scroll down to the "Config Vars" section.
- Click on the "Edit" button next to "WELCOME_MESSAGE".
- Enter your new welcome message and click "Save".
Method 3: Using a Heroku Config File
- Create a new file named
config.json
in the root of your app directory. - Add the following code to the file:
{ "WELCOME_MESSAGE": "Your new welcome message here" }
- Commit the changes to your Git repository.
- Run the command
heroku config:push
to push the config file to Heroku.
Once you've updated the welcome message, it will be displayed when users visit your app's URL.
Note: The welcome message is limited to 255 characters, so keep your message concise and within the character limit.