Coder Social home page Coder Social logo

charlie-cao / apiato-vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chaban/apiato-vue

0.0 1.0 0.0 593 KB

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

PHP 80.74% HTML 1.16% JavaScript 5.29% Vue 10.59% Dockerfile 0.31% Shell 1.33% CSS 0.56%

apiato-vue's Introduction

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.

apiato-vue's People

Contributors

chaban avatar

Watchers

Charlie.Cao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.