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

https://github.com/liebsen/slimvuedemo

Slim 3 + Vue Demo
https://github.com/liebsen/slimvuedemo

Last synced: about 1 month ago
JSON representation

Slim 3 + Vue Demo

Awesome Lists containing this project

README

          

# Slim Vue Scaffolding

## Server Requirements

You'll need

PHP >= 7 [PHP](http://php.net/downloads.php)
MySQL >= 5.5 [MySQL](https://dev.mysql.com/downloads/)

## Installation

Install [composer](https://getcomposer.org/) or type

``` bash
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
```

Install PHP dependencies

``` bash
cd /var/www/slimvuedemo
composer install
```

Set folder permissions

``` bash
sudo chmod -R 777 logs
sudo chmod -R 777 public/dist
```

Set your environment up

``` bash
cat .env.dist > .env
nano .env
```

Create dababase and run

``` bash
cd bin
php db migrate
```

Seed your dababase with basic data

``` bash
cd /var/www/slimvuedemo/data
mysql -u root -p slimvuedemo < slimvuedemo.sql
```

Edit your settings as you please.
Now, your project must be up and running.

## Deploying

### Before you commit run dist script

``` bash
php dist
```

## Documentation

### Publish your documentation

``` bash
php docs
```