vietdien2005 / mylar-installer
MyLar application installer.
0.1
2017-03-25 02:20 UTC
Requires
- ext-zip: *
- guzzlehttp/guzzle: ~4.0|~5.0|~6.0
- symfony/console: ~2.3|~3.0
- symfony/process: ~2.3|~3.0
This package is not auto-updated.
Last update: 2024-12-08 03:36:11 UTC
README
Requirements
- PHP >= 5.6.4 - OpenSSL PHP Extension - PDO PHP Extension - Mbstring PHP Extension - Tokenizer PHP Extension - XML PHP ExtensionInstalling Mylar
Make sure you installed Composer and Yarn before run command below.
Install Command
Command:
composer global require "vietdien2005/mylar-installer"
Create project:
mylar new myproject
Create project via Composer
Command:
composer create-project --prefer-dist vietdien2005/mylar myproject
Configuration
Environment
- Development: config file
.env
isAPP_ENV=local
and put all config in .local_env - Production: config file
.env
isAPP_ENV=production
and put all config in .production_env
Database
Create database mylar
or config database in your file environment
Run:
chmod +x bash/install.sh
bash/install.sh
Nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}
Login
Go to link /login
and Login with username admin@mylar.com
password 12345678