Then run `cp .env.example .env`. Don't forget to configure the `.env` file.
### Developing
Front-end code need to be built before running Blessing Skin.
If the `APP_ENV` is `development` in `.env` file, you need to run `yarn dev` and keep that process running. That will let front-end resource be loaded correctly, and the page will gain the ability of hot reload.
If the `APP_ENV` equals to other value, you need to run `yarn build` first. This operation will build and compress the front-end resource. Generally, this should be used for production.
### Testing
Test front-end code:
```bash
yarn test
```
Test PHP code:
```bash
./vendor/bin/phpunit
```
## Code Convention
Please make sure you have installed EditorConfig extension/plugin in your editor or IDE. It's recommended to install the plugin for ESLint if you are developing front-end. (You can also run `yarn lint` to check the code.)