{"id":6493,"date":"2021-08-26T16:13:32","date_gmt":"2021-08-26T16:13:32","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=6493"},"modified":"2022-03-18T09:56:47","modified_gmt":"2022-03-18T09:56:47","slug":"install-wagtail-without-root-access","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/install-wagtail-without-root-access\/","title":{"rendered":"How to Install Wagtail on Shared Hosting without Root"},"content":{"rendered":"<p>If you have never installed Wagtail or Django on shared hosting where you have no root access, it can be somewhat confusing to set up because there are some extra steps you must do before you set up your application.<\/p>\n<p class=\"p1\">    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDid you know that our <a href=\"https:\/\/chemicloud.com\/python-hosting#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\"><strong>Python Hosting<\/strong><\/a> supports wagtail out of the box? <span class=\"s1\">\ud83d\udc40<\/span> Join the growing club of happy customers who made the switch to better, faster <span class=\"s2\">web hosting<\/span>!     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>This Knowledge Base article will guide you through the installation of Wagtail.<\/p>\n<p>If you aren&#8217;t familiar with Wagtail, check out it&#8217;s official documentation by <a href=\"https:\/\/docs.wagtail.io\/en\/stable\/getting_started\/index.html\" target=\"_blank\" rel=\"noopener nofollow\">clicking here<\/a>.<\/p>\n<p>Let&#8217;s begin!<\/p>\n<h2 id=\"how-to-install-wagtail-on-shared-hosting-without-root\">How to Install Wagtail on Shared Hosting without Root<\/h2>\n<p><strong>Step 1:<\/strong> Login to your cPanel. There&#8217;s a lot of ways to do this, but the sure-fire easiest way is to log in to your <a href=\"https:\/\/www.chemicloud.com\/login\" target=\"_blank\" rel=\"noopener noreferrer\">Client Area<\/a>, then open your cPanel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4061\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab.jpg\" alt=\"\" width=\"1674\" height=\"496\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab.jpg 1674w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-300x89.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-1024x303.jpg 1024w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-768x228.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-50x15.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-1536x455.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-60x18.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-100x30.jpg 100w\" sizes=\"auto, (max-width: 1674px) 100vw, 1674px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Once your cPanel is open, scroll down to the Software section and open the Setup Python App link.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6494\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2.png\" alt=\"\" width=\"1336\" height=\"459\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2.png 1336w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-300x103.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-783x269.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-768x264.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-50x17.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-60x21.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-2-100x34.png 100w\" sizes=\"auto, (max-width: 1336px) 100vw, 1336px\" \/><\/a><\/p>\n<p><strong>Step 3:<\/strong> Once the Python app opens, click Create Application in the top right corner.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6495\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2.png\" alt=\"\" width=\"1918\" height=\"588\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-300x92.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-783x240.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-768x235.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-50x15.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-1536x471.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-60x18.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-2-100x31.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p><strong>Step 4:<\/strong> You will be presented with a blank Application setup screen, much like the one below:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6496\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2.png\" alt=\"\" width=\"1826\" height=\"1000\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2.png 1826w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-300x164.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-783x429.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-768x421.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-50x27.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-1536x841.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-60x33.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-2-100x55.png 100w\" sizes=\"auto, (max-width: 1826px) 100vw, 1826px\" \/><\/a><\/p>\n<ol>\n<li>In Python Version, select the version to use in the virtual Python environment. As of this writing, Wagtail requires Python version 3.7.10, so be sure to choose that version.<\/li>\n<li>In Application Root, enter the name of the folder associated to your domain that will be used to store the files of the web app.<\/li>\n<li>For application URL, choose the domain or subdomain to use for the application. You can also append a URL location, like \/wagtail, if you wish.<\/li>\n<li>Leave the Application Startup File and Application Entry Point fields blank. They will be auto-populated.<\/li>\n<li>In the Passenger log file, enter the name and path to the Phusion Passenger log file. You will be creating this path here, it doesn&#8217;t have to already exist.<\/li>\n<li>There are no environment variables to add.<\/li>\n<\/ol>\n<p>Once you&#8217;ve filled in the required fields, the screen should look like this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6549\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7.png\" alt=\"\" width=\"1661\" height=\"698\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7.png 1661w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-300x126.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-783x329.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-768x323.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-50x21.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-1536x645.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-60x25.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-7-100x42.png 100w\" sizes=\"auto, (max-width: 1661px) 100vw, 1661px\" \/><\/a><\/p>\n<p>Click Create in the top right corner to create the environment.<\/p>\n<p><strong>Step 5:\u00a0<\/strong>Your web app will now be listed in the Web Applications list.<\/p>\n<p>Next, we need to obtain the line of code to activate the application. To do this, click the pencil icon next to your App:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6503\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3.png\" alt=\"\" width=\"1918\" height=\"552\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-300x86.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-783x225.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-768x221.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-50x14.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-1536x442.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-60x17.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-3-100x29.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>The Application &#8220;Editor&#8221; allows you to perform some key functions for your Python app, so let&#8217;s take a look at those real quick so you are aware:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6504\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3.png\" alt=\"\" width=\"1918\" height=\"1541\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-300x241.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-783x629.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-768x617.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-50x40.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-1536x1234.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-60x48.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-3-100x80.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<ol>\n<li>At the top of the page is the option to destroy this application, cancel, or save any changes you made.<\/li>\n<li>The Restart and Stop App settings allow you to do as they say &#8211; Restart your app or Stop the app.<\/li>\n<li>The text at the top is the command line code you will use in the coming step to activate and enter the virtual environment for this Python app.<\/li>\n<li>The main settings allow you to control the following:\n<ol>\n<li>Python Version<\/li>\n<li>Application root directory<\/li>\n<li>Application URL<\/li>\n<li>Application startup file<\/li>\n<li>Application Entry Point<\/li>\n<li>Passenger Log File<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>To proceed to the next step, we need to copy the command at the top of the page to our clipboard.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6505\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4.png\" alt=\"\" width=\"1918\" height=\"261\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-300x41.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-783x107.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-768x105.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-50x7.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-1536x209.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-60x8.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-4-100x14.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>To do this, single-click the text. The &#8216;code&#8217; is written on the page in such a way that a single click anywhere in the command that has a purple background will automatically be copied to your clipboard.<\/p>\n<p><strong>Step 6:<\/strong> Now, return to the cPanel Home Screen by clicking the 9 squared-square in the top left corner.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6498\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2.png\" alt=\"\" width=\"1021\" height=\"460\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2.png 1021w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-300x135.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-783x353.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-768x346.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-50x23.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-60x27.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-2-100x45.png 100w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/a><\/p>\n<p>Once on the home screen of cPanel, scroll down to the Advanced section and click the Terminal app.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6499\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2.png\" alt=\"\" width=\"1147\" height=\"374\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2.png 1147w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-300x98.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-783x255.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-768x250.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-60x20.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-2-100x33.png 100w\" sizes=\"auto, (max-width: 1147px) 100vw, 1147px\" \/><\/a><\/p>\n<p>You will see a warning screen like the one below. Click I understand and want to proceed to continue.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6500\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2.png\" alt=\"\" width=\"1342\" height=\"496\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2.png 1342w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-300x111.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-783x289.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-768x284.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-50x18.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-60x22.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-2-100x37.png 100w\" sizes=\"auto, (max-width: 1342px) 100vw, 1342px\" \/><\/a><\/p>\n<p><strong>Step 7:\u00a0<\/strong>The terminal will be open and you will be taken to your prompt:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6506\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3.png\" alt=\"\" width=\"1918\" height=\"570\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-300x89.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-783x233.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-768x228.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-50x15.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-1536x456.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-60x18.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-3-100x30.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Using your mouse, right-click in the black space of the terminal and choose paste to paste the command you copied earlier from the Python app:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6507\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3.png\" alt=\"\" width=\"1918\" height=\"610\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-300x95.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-783x249.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-768x244.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-1536x489.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-60x19.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-3-100x32.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Once you&#8217;ve pasted in the test, press the enter\/return key on your keyboard to run the command. Your Terminal Prompt should look similar to mine (below) after running the command.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6508\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3.png\" alt=\"\" width=\"1765\" height=\"120\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3.png 1765w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-300x20.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-783x53.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-768x52.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-50x3.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-1536x104.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-60x4.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-3-100x7.png 100w\" sizes=\"auto, (max-width: 1765px) 100vw, 1765px\" \/><\/a><\/p>\n<p>Note on the new line, before my cPanel username is (wagtail:3.8). This indicates I&#8217;m now in the wagtail environment.<\/p>\n<p><strong>Step 8:<\/strong> Next you need to change the directory (cd) into the directory where your wagtail directory is located.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6509\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1.png\" alt=\"\" width=\"1918\" height=\"487\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-300x76.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-783x199.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-768x195.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-50x13.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-1536x390.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-60x15.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-1-100x25.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Let&#8217;s break down what you see in the image above, as many people aren&#8217;t really comfortable with the command line (Terminal):<\/p>\n<ol>\n<li>First I used the cd command to change directories into the directory where my wagtail directory is located. This command is cd \/home2\/mycpanelusername<\/li>\n<li>Following that I used the ls command to list the files\/folders in the directory \/home2\/cchostingdemos. The output of that is what you see in a few different colors and as you can see, the wagtail directory is listed.<\/li>\n<li>Next, I used the cd command again to change directories into the wagtail directory.<\/li>\n<li>As you can see in the end, I am now in the wagtail directory.<\/li>\n<\/ol>\n<p><strong>Step 9:<\/strong> Now we need to upgrade pip. PIP is the package manager for Python. If you are familiar with apt or yum on Linux, it&#8217;s very similar.<\/p>\n<p>To do this, type the following command in your Terminal then press return\/enter on your keyboard to execute the command.<\/p>\n<pre>pip install --upgrade pip<\/pre>\n<p>Your Terminal should run a couple of commands, then send you back to prompt. It should look like this, or very very similar:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6512\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1.png\" alt=\"\" width=\"1804\" height=\"442\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1.png 1804w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-300x74.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-783x192.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-768x188.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-50x12.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-1536x376.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-60x15.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-1-100x25.png 100w\" sizes=\"auto, (max-width: 1804px) 100vw, 1804px\" \/><\/a><\/p>\n<p>As long as you see a message like this:<\/p>\n<p>Successfully installed pip-(version number here) and you are sent back to a ready prompt, you&#8217;re good to go!<\/p>\n<p><strong>Step 10:<\/strong> Next you need to install Wagtail. To do this, run the following command in your Terminal prompt:<\/p>\n<pre>pip install wagtail<\/pre>\n<p>Your prompt should look like this when done:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6513\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1.png\" alt=\"\" width=\"1918\" height=\"699\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-300x109.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-783x285.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-768x280.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-50x18.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-1536x560.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-60x22.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-1-100x36.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Congrats, now you&#8217;ve installed Wagtail!<\/p>\n<p><strong>Step 11:<\/strong> Next, you need to create a project. To do this, use the following command in your terminal:<\/p>\n<p>wagtail start project<\/p>\n<p>Except replace the word project with the name of your Wagtail project.<\/p>\n<p>Your terminal output should look similar to the output below:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6514\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1.png\" alt=\"\" width=\"1136\" height=\"286\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1.png 1136w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-300x76.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-783x197.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-768x193.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-50x13.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-60x15.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-1-100x25.png 100w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<p>Perfect, my project called project3, has been created.<\/p>\n<p><strong>Step 12:<\/strong> Next, you need to navigate to the project folder and run migrations. To do this, run the following command:<\/p>\n<pre>cd project3 (replace project3 with the name of your project)<\/pre>\n<p>Followed by this command:<\/p>\n<pre>python manage.py migrate<\/pre>\n<p>I won&#8217;t paste the entire output here because it&#8217;s too long, however, before pressing enter\/return on your keyboard to run the above command, your terminal should look like this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6515\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1.png\" alt=\"\" width=\"1828\" height=\"707\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1.png 1828w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-300x116.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-783x303.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-768x297.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-50x19.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-1536x594.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-60x23.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-1-100x39.png 100w\" sizes=\"auto, (max-width: 1828px) 100vw, 1828px\" \/><\/a><\/p>\n<p>When the migration is finished, you will be returned to a blank prompt:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6516\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1.png\" alt=\"\" width=\"1199\" height=\"715\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1.png 1199w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-300x179.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-783x467.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-768x458.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-50x30.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-60x36.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/14-1-100x60.png 100w\" sizes=\"auto, (max-width: 1199px) 100vw, 1199px\" \/><\/a><strong>Step 13:<\/strong> Next you need to create a superuser to login to the admin of Wagtail.<\/p>\n<p>Using the Terminal, run the following command:<\/p>\n<pre>python manage.py createsuperuser<\/pre>\n<p>First, you will need to create a username:<\/p>\n<pre>(wagtail:3.8)[cchostingdemos@rs2-dal project3]$ python manage.py createsuperuser\r\nUsername (leave blank to use 'cchostingdemos'):<\/pre>\n<p>Following this you will need to enter an email address:<\/p>\n<pre>(wagtail:3.8)[cchostingdemos@rs2-dal project3]$ python manage.py createsuperuser\r\nUsername (leave blank to use 'cchostingdemos'):\r\nEmail address:<\/pre>\n<p>And lastly, you&#8217;ll need to give this superuser account a secure password.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Important Information:<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tNote, the system does not automatically generate this, so you&#8217;ll need to generate one using a third party. You can click <a href=\"https:\/\/www.random.org\/passwords\/\" target=\"_blank\" rel=\"noopener nofollow\">here<\/a> to open a website which generates secure, random passwords using entropy.\u00a0    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>You will be prompted to re-enter the password a second time to ensure it matches, and after that the superuser will be created. Your terminal will look similar to this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6517\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1.png\" alt=\"\" width=\"1054\" height=\"710\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1.png 1054w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-300x202.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-783x527.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-768x517.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-50x34.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-60x40.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/15-1-100x67.png 100w\" sizes=\"auto, (max-width: 1054px) 100vw, 1054px\" \/><\/a><strong>Step 14:<\/strong> Now you need to test that you can access your app. My app was installed at https:\/\/wagtail.cchostingdemos.com, so when I visit that in my browser, I see the following:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6685\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18.png\" alt=\"\" width=\"323\" height=\"171\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18.png 323w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18-300x159.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18-60x32.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/1-18-100x53.png 100w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/a><\/p>\n<p>Congrats, that means your app is setup properly. Now we need to configure some other settings.<\/p>\n<p>We&#8217;ll be using a command line text editor called nano to make these final changes, so pay attention to the steps below very carefully.<\/p>\n<p><strong>Step 15:<\/strong> In your terminal, type the following command, then press enter\/return on your keyboard:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6686\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13.png\" alt=\"\" width=\"1296\" height=\"489\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13.png 1296w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-300x113.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-783x295.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-768x290.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-50x19.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-60x23.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/2-13-100x38.png 100w\" sizes=\"auto, (max-width: 1296px) 100vw, 1296px\" \/><\/a><\/p>\n<p>Next, type the following command, then press return:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6687\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12.png\" alt=\"\" width=\"1269\" height=\"443\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12.png 1269w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-300x105.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-783x273.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-768x268.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-50x17.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-60x21.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/3-12-100x35.png 100w\" sizes=\"auto, (max-width: 1269px) 100vw, 1269px\" \/><\/a><\/p>\n<p>Nano will open and it will look like the screenshot below:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6688\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12.png\" alt=\"\" width=\"1918\" height=\"1041\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-300x163.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-783x425.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-768x417.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-50x27.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-1536x834.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-60x33.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/4-12-100x54.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Nano is a command line text editor. You&#8217;ll be using your up and down arrow keys to move to the lines we need to access.<\/p>\n<p>Use your down arrow key to position your cursor below the line that says:<\/p>\n<p>sys.path.insert(0, os.path.dirname(__file__))<\/p>\n<p>Your terminal window should look like this once your cursor is positioned properly:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6689\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9.png\" alt=\"\" width=\"1918\" height=\"1005\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-300x157.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-783x410.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-768x402.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-1536x805.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-60x31.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/5-9-100x52.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>On the line where your cursors is, enter the following text:<\/p>\n<p>sys.path.insert(0, &#8216;project&#8217;)<\/p>\n<p>Except replace &#8216;project&#8217; with the name of your wagtail project.<\/p>\n<p>When entered, your command line window should look like this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6690\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7.png\" alt=\"\" width=\"1918\" height=\"1016\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-300x159.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-783x415.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-768x407.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-1536x814.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-60x32.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/6-7-100x53.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p><strong>Step 16:<\/strong> Next, you need to move your cursor down 2 lines to the line where def application(environ, start_response): is printed and delete all of the text. You will be deleting the text highlighted in the screenshot below:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6694\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4.png\" alt=\"\" width=\"1918\" height=\"1007\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-300x158.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-783x411.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-768x403.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-1536x806.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-60x32.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/10-4-100x53.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>To delete, hold down the Delete key on your keyboard at the start of the line. All of the other lines will collapse into the start of the line and be deleted. It will look like the gif below while the text is being deleted:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/deletion_of_extraneous_lines_in_nano.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6695\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/deletion_of_extraneous_lines_in_nano.gif\" alt=\"\" width=\"1780\" height=\"693\" \/><\/a><\/p>\n<p><strong>Step 17:<\/strong> Now that you have deleted the extraneous text, you will want to enter the following text:<\/p>\n<p>import project.wsgi (where project is the name of your wagtail project)<br \/>\napplication = project.wsgi.application (where project is again, the name of your wagtail project)<\/p>\n<p>The text should look like this when entered into the terminal window:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6696\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3.png\" alt=\"\" width=\"1918\" height=\"988\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-300x155.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-783x403.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-768x396.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-1536x791.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-60x31.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/11-3-100x52.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Now you are ready to exit Nano and save your changes to this file.<\/p>\n<p>To exit nano, you need to push Control X on your keyboard. This is the exit command. Your command line window will look like this after pressing that keystroke combination:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6691\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7.png\" alt=\"\" width=\"1918\" height=\"1014\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-300x159.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-783x414.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-768x406.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-1536x812.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-60x32.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/7-7-100x53.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>Notice at the bottom, you are being prompted to save your file.<\/p>\n<p>Push Y on your keyboard to save.<\/p>\n<p>After pressing Y, nano will ask you to enter the name of your file. It will look like this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6692\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4.png\" alt=\"\" width=\"1918\" height=\"998\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-300x156.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-783x407.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-768x400.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-50x26.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-1536x799.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-60x31.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/8-4-100x52.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>As you are not changing the name of the file, only the contents within the file, press enter\/return on your keyboard to use the existing name.<\/p>\n<p>You will be returned to a blank prompt, and if all went well, your command line window will look like this:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6693\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5.png\" alt=\"\" width=\"1918\" height=\"497\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-300x78.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-783x203.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-768x199.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-50x13.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-1536x398.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-60x16.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/9-5-100x26.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p><strong>Step 18:<\/strong> And we&#8217;re almost done, you just need to return to your cPanel and open the &#8220;Setup Python App&#8221; section again:<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6697\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3.png\" alt=\"\" width=\"1321\" height=\"457\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3.png 1321w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-300x104.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-783x271.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-768x266.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-50x17.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-60x21.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/12-3-100x35.png 100w\" sizes=\"auto, (max-width: 1321px) 100vw, 1321px\" \/><\/a><\/p>\n<p>Once the list of Python apps loads, click the circle-arrow icon to restart your Python app.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6698\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3.png\" alt=\"\" width=\"1918\" height=\"594\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3.png 1918w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-300x93.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-783x242.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-768x238.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-50x15.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-1536x476.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-60x19.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/08\/13-3-100x31.png 100w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>And now you&#8217;re done!<\/p>\n<p>To admin your app or login, visit https:\/\/yourappname.yourdomain.tld\/admin and login using the SuperUser credentials you created in the earlier steps!<\/p>\n<p>Congrats, that&#8217;s how to install Wagtail at ChemiCloud!<\/p>\n<p>We hope you found this tutorial helpful! Let us know in the comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have never installed Wagtail or Django on shared hosting where you have no root access, it can be somewhat confusing to set up because there are some extra steps you must do before you set up your application. This Knowledge Base article will guide you through the installation&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[34],"ht-kb-tag":[],"class_list":["post-6493","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=6493"}],"version-history":[{"count":11,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6493\/revisions"}],"predecessor-version":[{"id":7159,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6493\/revisions\/7159"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=6493"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=6493"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=6493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}