Giter Site home page Giter Site logo

laravel-src's Introduction

laravel-src

基于 Laravel 的开源安全应急响应中心平台.

演示

网址:

  1. 暂无 截图:
  2. 后台 后台.png
  3. 用户中心 用户中心.png

安装

环境要求:

  1. PHP 7.0.*
  2. MySQL 5.6.x
  3. ...
# composer安装依赖
composer update -vvv

# 配置
cp .env.example .env

# 修改数据库配置
vim .env

# 生成动态key
php artisan key:generate

# 导入数据库
php artisan migrate

composer dump-autoload

# 导入种子用户
php artisan db:seed

php artisan db:seed --class=AddPermisionTableSeeder

# 修改storage权限
sudo chmod -R 755 ./storage/

修改 hosts 添加 127.0.0.1 security.233sec.com 到 hosts

su
echo "\n" >> /etc/hosts
echo "127.0.0.1 security.233sec.com" >> /etc/hosts

启动 HTTP 服务

vendor/bin/start-laravelfly-server #如果已安装swoole扩展(https://github.com/swoole/swoole-src/)

php artisan serve

通过 http://security.233sec.com 访问本地环境

如果发布生产, 正式使用, 务必做以下工作:

  1. https://luosimao.com/service/captcha 注册正式验证码 key

TODO

已知问题: Swoole 模式运行下, datatables打印 queries 越来越多, 但是真实查询并不会按次数增加, 这是 datatables 的bug. 所以不予修复.

COPYRIGHT

233SEC TEAM

LICENSE

MIT

laravel-src's People

Contributors

xiaohuilam avatar

Watchers

 avatar  avatar

Forkers

webvul

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.