Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vietdien2005/mylar-installer

Create Project Laravel with template from mylar
https://github.com/vietdien2005/mylar-installer

composer php symfony

Last synced: about 1 month ago
JSON representation

Create Project Laravel with template from mylar

Awesome Lists containing this project

README

        

## MyLar Installer

- [Server Requirements](#requirements)
- [Installing Mylar](#installing-mylar)
- [Configuration](#configuration)


### Requirements


- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension


### Installing Mylar

Make sure you installed [Composer](https://getcomposer.org) and [Yarn](https://yarnpkg.com) 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` is `APP_ENV=local` and put all config in .local_env
- Production: config file `.env` is `APP_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 `[email protected]` password `12345678`