| title | Installation |
|---|---|
| lang | en-US |
This is only recommended to those who are familiar with Docker setups. It's recommended to use a reverse proxy, a Nginx instance is included in the example Docker compose file. You should configure the virtual hosts by yourself.
- Install Docker on your host: https://docs.docker.com/install/
- Install docker-compose: https://docs.docker.com/compose/install/
- Clone the repository:
git clone https://github.com/bytefury/crater - Go into the repo directory and deploy using example docker-compose setup:
$ cd crater
$ mv docker-compose.yaml.example docker-compose.yaml
$ docker-compose up -d
- You can check the logs with
docker-compose logs - Go to your crater domain and follow the installation wizard.
- For Database Name, Database Username, and Database Password, use
crater.
dbfor Database Host.
If you ever want to check the Laravel logs:
$ cd $(docker volume inspect --format '{{ .Mountpoint }}' crater_app)/storage/logs
$ ls
$ tail -n200 log_file_name.log
PHP >= 7.2.0
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Download the Crater package.
Alternatively, If you are a developer, follow the installation steps for your project on this Link
Upload the downloaded zip file to your Server and unzip it, you should see the Crater folder.
Point your domain or subdomain to the public directory inside the Crater folder.
Please note that, Crater must be installed on a primary domain or subdomain. Installing on a sub-folder will not work, for example:
example.com/craterapp(Invalid)localhost/crater(Invalid)example.com(Valid)crater.example.com(Valid)crater.test(Valid)
Open the link to the domain in the browser (Example: https://demo.craterapp.com) and complete the installation wizard as directed.