This post shows how to make sitemap.xml for your web site. The sitemap will be accessible by URL http://mysite.com/sitemap.xml
Myrails::Application.routes.draw do| #!/bin/bash | |
| # This config file is for desktop version of Ubuntu | |
| # Default settings | |
| start=`date +%s` | |
| bold=$(tput bold) | |
| normal=$(tput sgr0) | |
| red=`tput setaf 1` | |
| green=`tput setaf 2` |
This post shows how to make sitemap.xml for your web site. The sitemap will be accessible by URL http://mysite.com/sitemap.xml
Myrails::Application.routes.draw do| brew update | |
| brew upgrade | |
| rbenv install -l | |
| # will list all latest ruby versions | |
| # if it will not show all latest versions | |
| # then run: | |
| cd ~/.rbenv/plugins/ruby-build/ && git pull | |
| # list all versions again |
WYSIWYG editor for website is summernote https://summernote.org
Summernote setup with webapcker, using yarn add command
yarn add [email protected]
Starting with Puma 6.0, the --daemon flag has been removed for security reasons. Puma no longer supports daemonizing itself directly. If you need to run Puma in the background as a service, you should use a process manager like systemd, Upstart, or foreman, instead of using --daemon.
Instead of using Puma’s built-in daemon mode, you can manage it with a process manager like systemd. Here’s an example of how you can set up Puma with systemd:
Create a file called /etc/systemd/system/puma.service with the following content (replace paths with your specific setup):
[Unit]