{"id":14974594,"url":"https://github.com/codingcn/laravel-blog","last_synced_at":"2025-07-17T14:34:22.257Z","repository":{"id":28782439,"uuid":"119310643","full_name":"codingcn/laravel-blog","owner":"codingcn","description":"SPA laravel6.x+vuejs2.x","archived":false,"fork":false,"pushed_at":"2023-01-05T09:57:41.000Z","size":8411,"stargazers_count":2,"open_issues_count":24,"forks_count":4,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-04-08T08:03:50.067Z","etag":null,"topics":["laravel55","spa","vuejs2"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-29T00:17:22.000Z","updated_at":"2020-01-31T04:59:36.000Z","dependencies_parsed_at":"2023-01-14T10:00:20.399Z","dependency_job_id":null,"html_url":"https://github.com/codingcn/laravel-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codingcn/laravel-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingcn%2Flaravel-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingcn%2Flaravel-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingcn%2Flaravel-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingcn%2Flaravel-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingcn","download_url":"https://codeload.github.com/codingcn/laravel-blog/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingcn%2Flaravel-blog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265617151,"owners_count":23798979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel55","spa","vuejs2"],"created_at":"2024-09-24T13:50:47.374Z","updated_at":"2025-07-17T14:34:22.168Z","avatar_url":"https://github.com/codingcn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 项目简介\n* 基于Laravel6.2+VueJS2.x实现的Blog\n* 后台采用前后端完全分离（SPA）开发\n\n\n## 安装步骤\n### 1. 获取项目\n```\ngit clone https://github.com/codingcn/blog.git\n\ncd blog\nnpm i\nnpm run prod\ncomposer install\n\ncp .env.example .env\n```\n### 2. 修改`.env`中的数据库信息以及邮件服务器信息（github登录）\n\n### 3. 建立目录链接及数据初始化\n```shell\nphp artisan key:generate\nphp artisan storage:link\nphp artisan migrate\nphp artisan db:seed\n```\n### 4. 配置passport\n```\nphp artisan passport:keys\nphp artisan passport:client --personal\n# 可以直接回车\n```\n### 5. 设置目录及文件权限\n```\n# 进入项目的上层目录\ncd ../\nsudo chown -R www:www blog/\nsudo find blog/ -type f -exec chmod 644 {} \\;\nsudo find blog/ -type d -exec chmod 755 {} \\;\nsudo chmod -R 777 blog/storage\nsudo chmod -R 777 blog/bootstrap/cache\n```\n### 6. 测试\n后台访问：ServerName/admin\n账号：`admin`\n密码：`123456`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingcn%2Flaravel-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingcn%2Flaravel-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingcn%2Flaravel-blog/lists"}