mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
45 lines
938 B
Markdown
45 lines
938 B
Markdown
### Installation setup
|
|
|
|
Run these commands to install vendors:
|
|
```
|
|
composer install
|
|
```
|
|
```
|
|
npm install
|
|
```
|
|
|
|
Setup your database in .env and run this command:
|
|
```
|
|
php artisan setup:prod
|
|
```
|
|
|
|
It automatically:
|
|
* Migrate database
|
|
* Generate Application key
|
|
* Create Passport Encryption keys
|
|
* Create Password grant client
|
|
* Create Personal access client
|
|
|
|
Then, copy generated password grant client `Client ID`, `Client secret` and paste it to .env files here:
|
|
```
|
|
PASSPORT_CLIENT_ID=<your_passport_client_id>
|
|
PASSPORT_CLIENT_SECRET=<your_passport_client_secret>
|
|
```
|
|
For sending forgoten password request via email, fill your mail driver in .env
|
|
|
|
### Run Application
|
|
To start server on your localhost, run this command
|
|
```
|
|
php artisan serve
|
|
```
|
|
|
|
To compiles and hot-reloads for development, run this command
|
|
```
|
|
npm run hot
|
|
```
|
|
|
|
To compiles for production, run this command
|
|
```
|
|
npm run prod
|
|
```
|
|
That's all, happy coding! :tada: :tada: :tada: |