Top
This page has all the information you will need to set up your project. Here, you will get to know what the things are that you will need to install before you start working on your project. Make sure you don't miss a single step.
Note: To proceed with installation First, make sure you meet all Server requirements.
Composer is already in your system then you don't need to do this step.
To install Composer on your system, follow the link https://getcomposer.org/ and once it is open.
Go to Download -> Composer-Setup.exe, click this link to download.
composer -v
Verify that your system has Composer installed using the above command.
Step 1 : Updating System
Open the terminal and update your system by running the following command on your terminal.
sudo apt-get update
If you haven't installed it, be sure to install it first.
Step 2 : Install composer
Although you already have composer installed in your system, as it is included while installing any linux based os, but if it is not included run the following command to install composer.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Now, You need to add the composer.phar file to a PATH directory through this command:
sudo mv composer.phar /usr/local/bin/composer
Check the version of composer through this below command:
composer -v
Now that you have installed composer in your system, its time to setup the koho theme and start creating you wonderful website.
Note: Make sure you comply with all pre-requisites.
Step 1 : Check PHP Version
php -v
Ensure to install it first, if it is not installed.The latest version 8.0 must be installed.
Step 2 : Check composer Version
composer -v
If you don't have it installed, you'll need to install it first. Follow the instructions that I gave you above.
Step 3 : Install dependencies
Open the terminal or command prompt and navigate to the folder where you have stored the downloaded koho project.
composer update
Step 4 : generate the key
php artisan key:generate
Step 5 : run the project
Now that all the dependencies are installed we are ready to run our project in the development server. Run the following command in the terminal:
php artisan serve
Once you serve your application by default it will take their defalult port so you can open port using example, open the link http://127.0.0.1:8000 -your domain name in your browser to view the project.