Ubuntu 22.04, Apache
- PHP >= 8.2
- MySQL or other database server
- Composer
- NodeJS
- sudo apt-get install php8.2-mysql
sudo apt-get install php8.2-xml - sudo apt-get install php8.2-mbstring
- sudo apt-get install php8.2-curl
- Clone the project
- Go to the project root directory and run
composer installandnpm install - Create
.envfile and copy content from.env.example - Run
php artisan key:generatefrom terminal - Change database information in
.env - Run migrations by executing
php artisan migrate, Then Runphp artisan db:seedif you want use faker database records, - Start the project by running
php artisan serve Run in another commandline npm run dev
REFERENCES: https://github.com/YasserElgammal/blog-cms
No comments:
Post a Comment