Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ovenx/laravel-blog
simple blog with laravel 7 and vue 2
https://github.com/ovenx/laravel-blog
blog laravel7 markdown php
Last synced: 8 days ago
JSON representation
simple blog with laravel 7 and vue 2
- Host: GitHub
- URL: https://github.com/ovenx/laravel-blog
- Owner: ovenx
- Created: 2020-04-09T14:13:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T07:26:33.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T11:20:57.753Z (3 months ago)
- Topics: blog, laravel7, markdown, php
- Language: PHP
- Homepage: https://laravel-blog.ovenx.cn/
- Size: 2.34 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Blog
## install package
```bash
composer install
```## create the `.env` file
```bash
cp .env.example .env
```## generate secret key
```bash
php artisan key:generate
php artisan jwt:secret
```## config the database
edit the .env file to config the database
create the `laravel-blog` database,then run `migrate`
```bash
php artisan migrate
php artisan db:seed
```default admin account
username:`admin` password:`admin`
## run
```bash
npm run dev # dev
npm run watch # watch
npm run prod # prod
```## demo
[https://laravel-blog.ovenx.cn/](https://laravel-blog.ovenx.cn/)
[https://laravel-blog.ovenx.cn/admin](https://laravel-blog.ovenx.cn/admin)