Table of contents |
---|
Requirements
- PHP
- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- Composer
- Server - Nginx recommended
- Database - PostgreSQL recommended
- Command line (SSH) access to the deploy server
Installation
Everytime you make a modification in the .env or config files you need to run the command php artisan config:cache so that your configuration is saved and used!
- Copy the repository files to a directory on the disk
- Copy / Rename the file ",env.example" to ".env"
- Edit the desired configuration details (excepting the APP_KEY property, we will set that later)
- Point the web server's document root to the public folder
- Using SSH, in the root directory of the project run the following comands
- composer install
- php artisan config:cache
- php artisan migrate
- php artisan key:generate
- php artisan config:cache
- php artisan db:seed
- php artisan config:cache
- Point your browser to the domain on which the application was installed on
- Login with the default credentials:
- username: flaviu@glitch.ro
- password 1234