Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chaban/apiato-vue

A demo web application written in laravel(apiato) and vuejs(element-ui)
https://github.com/chaban/apiato-vue

api apiato docker element-ui laradock laravel oauth2 vue

Last synced: 3 months ago
JSON representation

A demo web application written in laravel(apiato) and vuejs(element-ui)

Awesome Lists containing this project

README

        

# apiato-vue
A demo web application written in laravel(apiato) and vuejs(element-ui)

## How to install with Docker
* Install docker & docker-compose
* In laradoc/.env fill DOCKER_HOST_IP="Your docker ip address"
* Copy api/.env.example to api/.env
* In laradoc/.env fill REDIS_HOST and DB_HOST="Your docker ip address"
* In docker command line go to ./laradock and type "docker-compose up -d --build"
* Go in workspace container with command "docker exec -it workspace_ /bin/bash",
and run "composer install". Then type "php artisan migrate:refresh --seed" to create and seed tables in database
* Create oauth2 client for application with command "php artisan passport:client --password",
on artisan question type "admin". Add the received data to the file api/.env(CLIENT_WEB_ADMIN_ID,
CLIENT_WEB_ADMIN_SECRET) and "exit" from workspace_ container.
* Go to directory ./vueAdmin and install npm packages with "npm install".
After installation type "npm run dev". Browser starts automatically with working application.