# Installation

# Requirements

The Laravel framework has a few system requirements. You should ensure that your web server has the following minimum PHP version and extensions:

  • PHP >= 8.0
  • BCMath PHP Extension
  • Ctype PHP Extension
  • cURL PHP Extension
  • DOM PHP Extension
  • Fileinfo PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PCRE PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

# Setup

If you do not have a server available visit digitalocean (opens new window) and get $200 dollars in free credit

If not installed, please install composer (opens new window)

If not installed, please install npm (opens new window)

composer create-project iceburgcrm/iceburgcrm iceburgcrm

or 

git clone git@github.com:iceburgcrm/iceburgcrm.git

cd iceburgcrm

Edit your database environment variables

vim .env

DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_DATABASE=

Open permissions on the storage and

sudo chown -R www-data:www-data /path/to/your/project/public
sudo chown -R www-data:www-data /path/to/your/project/storage

or 

sudo chmod 777 storage
sudo chmod 777 public

Migrate

php artisan migrate
php artisan db:seed

Deploy

sudo chmod 777 storage