- Install yarn. Follow this guide https://yarnpkg.com/lang/en/docs/install/#debian-stable
- Install yarn packages by running this command.
pushd {project_dir} && yarn && popd
- Edit {project_dir}/css/theme_additional.scss
- Generate css file theme-additional.css
yarn build-css
- Copy the content inside the generated file and paste it in the theme additional css of wordpress as mentioned in the method 1 of this article https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/
- Publish it!!
- Go to the pages in wordpress.
- Click on edit with elementor button.
- Then edit with elementor UI panel!!
-
Access the machine on AWS. Ask Samridhi for website.pem file.
ssh -i website.pem ubuntu@wehitched.com
-
Install certbot
wget https://dl.eff.org/certbot-auto && chmod a+x certbot-auto
-
Generate certs
./certbot-auto certonly --webroot -w /opt/bitnami/apps/wordpress/htdocs/ -d wehitched.com -d www.wehitched.com
-
Restart the server.
sudo /opt/bitnami/ctlscript.sh restart apache
-
To know more about setting up the certs, refer to this https://www.onepagezen.com/free-ssl-certificate-wordpress-google-cloud-bitnami/