Setup:
1. Clone the repository
git clone https://github.com/Bellov/blog2. Configure PostgreSQL database
- Create a database named blog_cms.
Command line:
psql postgresCREATE DATABASE blog_cmsGRANT ALL PRIVILEGES ON DATABASE blog_cms TO your 'user name';\q3. Run the application
- Open the console and cd your project root directory
composer installphp artisan key:generate- Then open
database.phpand.envand change username and password as per PGSQL installation.
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database passwordphp artisan migratephp artisan db:seedphp artisan serve| password | |
|---|---|
| [email protected] | password |







