{"id":17922721,"url":"https://github.com/overtrue/writor","last_synced_at":"2025-03-24T02:32:51.801Z","repository":{"id":14020414,"uuid":"16722262","full_name":"overtrue/writor","owner":"overtrue","description":"基于 Laravel 4 开发的博客系统","archived":false,"fork":false,"pushed_at":"2017-05-03T01:31:27.000Z","size":23092,"stargazers_count":125,"open_issues_count":3,"forks_count":50,"subscribers_count":48,"default_branch":"master","last_synced_at":"2024-05-02T00:59:34.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://writor.me/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/overtrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-11T06:56:04.000Z","updated_at":"2024-01-17T06:33:15.000Z","dependencies_parsed_at":"2022-07-19T05:32:08.463Z","dependency_job_id":null,"html_url":"https://github.com/overtrue/writor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fwritor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fwritor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fwritor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fwritor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overtrue","download_url":"https://codeload.github.com/overtrue/writor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221932642,"owners_count":16903942,"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":[],"created_at":"2024-10-28T20:40:36.021Z","updated_at":"2024-10-28T20:40:36.621Z","avatar_url":"https://github.com/overtrue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## writor\n\n基于Laravel框架开发的博客系统。\n\n\u003e 只完成了后台管理部分，前台请根据需求自行开发。\n\n\n###Usage\n---\n1. clone writor到你的服务器环境\n\n\t```\n\tcd www #你的服务器放网站的目录\n\tgit clone https://github.com/overtrue/writor.git\n\t```\n\n1. 切换到`composer.json`所在目录，使用composer安装项目\n\n\t\u003e 如果没有安装过composer请先安装：\u003cbr\u003e\n \tlinux/OSX: [https://getcomposer.org/doc/00-intro.md#installation-nix](https://getcomposer.org/doc/00-intro.md#installation-nix)\u003cbr\u003e\n \twindows: [https://getcomposer.org/doc/00-intro.md#installation-windows](https://getcomposer.org/doc/00-intro.md#installation-windows)\n\n\t```\n\tcd www/writor\n\tcomposer install\n\t```\n\n1. 修改`bootstrap/start.php`中`27`行的环境配置，里面有说明。\n1. 修改数据库配置`app/config/database.php`，如果你没改上面的start.php中的环境部分的话请修改`app/config/production/database.php`。\n1. 修改`app/storage/` 目录权限为可写,*nix下 执行：\n\n    ```\n    sudo chmod -R 755 app/storage/\n    ```\n\n1. 初始管理员的用户名为`admin`,密码为`admin`,你想修改可以在`app/database/seeds/UserTableSeeder.php`中修改初始人员信息再执行安装\n1. 安装数据库\n\n    ```\n    php artisan migrate #安装数据表结构\n    php artisan db:seed #初始化管理员\n    ```\n\n1. 开启重写模块:使用`apache`请开启`mod_rewrite`,使用`nginx`同学请参考这个配置示例：[https://gist.github.com/davzie/3938080](https://gist.github.com/davzie/3938080)\n\n1. 那么现在访问`http://yourhost/writor/public/admin` 应该会跳转到后台登录页。\n\n###友情提示\n---\n- 因为本项目还在持续开发中，如果你想跟进开发进度请点击右上角的`watch`以便于收到更新邮件通知。\n- 如果你的网络慢，使用composer install老半天没反应，你可以直接拷其它laravel项目的vendor目录放到本目录就好。\n然后再执行一下：`composer dumpautoload`，如果运行不起来，试试`composer install`。:smiley:\n\n\u003e 当然别忘记点上面的 star 哦! :stuck_out_tongue_winking_eye:\n\n####感谢支持！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fwritor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovertrue%2Fwritor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fwritor/lists"}