crater
crater copied to clipboard
how to install on a shared hosting account
Can you you make detailed step by step instruction how to install on a shared hosting account like cpanel/plesk ? I tried but no succes.
No need for a guide. It's straightforward enough if you know what you need to do.
I use Plesk for most of my hosting needs, but cPanel would be as simple as Plesk.
Prerequisite:
- Empty Database
All you need to do is:
- Download the Production Release (it must include all
vendor
files; otherwise, you'd need to havecomposer
andnpm
installed to compile all files) - you can get it from the official website; - Upload, unzip and move all files to your domain foder;
- Point your
Document Root
/Website Home
dir to a./public
folder (alternatively, if you can specify the index file userserver.php
, no need to point to./public
); - Lastly, navigate to your browser and type in the
domain
/subdomain
/local_IP
and follow the Web UI installation.
I understand that for a novice or someone who has never been used to manually creating the configuration files, this may not be as straightforward, but trust me, after some time, you learn.
If the above answer your question, do you mind renaming the title to [question] - How to install on a shared hosting account like Plesk/cPanel
and closing this issue?
Please check this video for installation steps on localhost: https://www.youtube.com/watch?v=waheY7LHBdc
Also check my new video to help you guys to install it on shared hosting server ( Cpanel) : https://www.youtube.com/watch?v=i_-iOpvN3tI
@starpunjabi where the mysql dump? This should be available here as well
I used this htaccess, maybe it helps others to install Crater on shared host with a subdomain. First I tried DirectoryIndex server.php but that didn't work.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^crater.website.nl$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.crater.website.nl$
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) /public/$1 [L]