β οΈ This project was developed in the Laravel Sail environment, so if you already have Docker in your development environment, this will make your life easier π
To install, just clone the github repository:
git clone https://github.com/ewvlnet/zigcms.git NAMEOFYOURPROJECT
Enter the created folder
cd NAMEOFYOURPROJECT/
Now run the commands below
composer install
cp .env.example .env
php artisan key:generate
Do the require of Laravel Sail, then run the installation command
composer require laravel/sail --dev
# Select MySQL and any other services you want
php artisan sail:install
π‘After the Sail Installation command, the mysql container access data will be written to the .env file, and you can change them if you want
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=YOURDATABASENAME
DB_USERNAME=sail
DB_PASSWORD=password
Also, after the Sail installation command, in the next step it will create the images (making the build), and you only need to run the up command, after that
./vendor/bin/sail up -d
The -d at the end of the command prevents the terminal from becoming locked, and you will be able to execute new commands
Run the migrations
sail artisan migrate:fresh --seed
π₯³π₯ππ»π
Once this is done, just access localhost in your browser and see the screen ZigCMS home page.