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
- Host: GitHub
- URL: https://github.com/liebsen/slimvuedemo
- Owner: liebsen
- Created: 2019-05-29T19:59:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T18:12:24.000Z (about 7 years ago)
- Last Synced: 2025-02-21T10:44:28.335Z (over 1 year ago)
- Language: JavaScript
- Size: 4.57 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```