Let's Encrypt on website setup with easy install script

No, not stupid. I missed that you were doing easy install. You should run the appropriate command based on the one I gave above.
Then bench use adityas.com ← where adityas.com is the name of your new site
You can then run Let’s Encrypt.
My (general) complaint about about site1.local is that it invites a lot of confusion because its a default.
Since you have already done the easy install, you don’t have the option of passing install.py any of the optional arguments. If one types python install.py --help it gets you this useful bit:

optional arguments:
  -h, --help            show this help message and exit
  --develop             Install developer setup
  --production          Setup Production environment for bench
  --site SITE           Specifiy name for your first ERPNext site
  --without-site
  --verbose             Run the script in verbose mode
  --user USER           Install frappe-bench for this user
  --bench-branch BENCH_BRANCH
                        Clone a particular branch of bench repository
  --repo-url REPO_URL   Clone bench from the given url
  --frappe-repo-url FRAPPE_REPO_URL
                        Clone frappe from the given url
  --frappe-branch FRAPPE_BRANCH
                        Clone a particular branch of frappe
  --erpnext-repo-url ERPNEXT_REPO_URL
                        Clone erpnext from the given url
  --erpnext-branch ERPNEXT_BRANCH
                        Clone a particular branch of erpnext
  --overwrite           Whether to overwrite an existing bench
  --mysql-root-password MYSQL_ROOT_PASSWORD
                        Set mysql root password
  --admin-password ADMIN_PASSWORD
                        Set admin password
  --bench-name BENCH_NAME
                        Create bench with specified name. Default name is
                        frappe-bench

I also recommend naming your bench to something meaningful; I have one installed locally for each of my customers (they’re all on different versions at different times) or if you want to do some testing between Master and Develop or a clean python 2/3 comparison… There is some additional settings required that are available with a search on the forum.

1 Like