crater icon indicating copy to clipboard operation
crater copied to clipboard

how to install on a shared hosting account

Open surihost opened this issue 2 years ago • 3 comments

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.

surihost avatar Apr 25 '22 14:04 surihost

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:

  1. Empty Database

All you need to do is:

  1. Download the Production Release (it must include all vendor files; otherwise, you'd need to have composer and npm installed to compile all files) - you can get it from the official website;
  2. Upload, unzip and move all files to your domain foder;
  3. Point your Document Root/Website Home dir to a ./public folder (alternatively, if you can specify the index file user server.php, no need to point to ./public);
  4. 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?

rihards-simanovics avatar May 02 '22 01:05 rihards-simanovics

Please check this video for installation steps on localhost: https://www.youtube.com/watch?v=waheY7LHBdc

starpunjabi avatar May 21 '22 01:05 starpunjabi

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 avatar Jun 10 '22 18:06 starpunjabi

@starpunjabi where the mysql dump? This should be available here as well

petrk94 avatar Oct 24 '22 23:10 petrk94

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]

JeroenSteen avatar Oct 27 '22 18:10 JeroenSteen