Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takayyz/laravue
https://github.com/takayyz/laravue
laravel php vue
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/takayyz/laravue
- Owner: Takayyz
- Created: 2019-09-14T17:41:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T22:40:26.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T06:29:40.262Z (almost 2 years ago)
- Topics: laravel, php, vue
- Language: PHP
- Size: 780 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# laravue
## Requirements
| PHP | Laravel | PostgreSQL | Node | npm | Vue.js | Vue Router | Vuex |
|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
| 7.2.22 | 5.8.35 | 10.10 | 10.15.0 | 6.4.1 | 2.5.21 | 3.0.2 | 3.0.1 |## Installation
```
1. $git clone <リポジトリURL>
2. $composer install
3. $npm install
4. $cp .env.example .env
5. $php artisan key:generate
6. .env修正 //DB周り, (APP_NAME)
7. $php artisan migrate
8. $php artisan db:seed
```If you get the following error after running **php artisan db:seed**:
```php
ReflectionException: Class ClassNameSeeder does not exist
```try to run below:
```sh
composer dump-autoload
```Then run **php artisan db:seed** again.
---
## PostgreSQL
### postgre basic command
```
# DB一覧
$ \l# DB選択
$ \c DB名# TABLE一覧
$ \dt;# TABLE構造表示
$ \d TABLE名# psql終了
$ \q# DB作成
$ create database DB名
```
【参照】
- [PostgreSQLの基本的なコマンド](https://qiita.com/H-A-L/items/fe8cb0e0ee0041ff3ceb)
---