|
|
5 lat temu | |
|---|---|---|
| app | 5 lat temu | |
| bootstrap | 7 lat temu | |
| config | 6 lat temu | |
| database | 6 lat temu | |
| public | 6 lat temu | |
| resources | 6 lat temu | |
| routes | 6 lat temu | |
| storage | 6 lat temu | |
| tests | 7 lat temu | |
| .DS_Store | 7 lat temu | |
| .env.example | 7 lat temu | |
| .gitattributes | 7 lat temu | |
| .gitignore | 6 lat temu | |
| apidoc.json | 7 lat temu | |
| artisan | 7 lat temu | |
| composer.json | 6 lat temu | |
| package-lock.json | 7 lat temu | |
| package.json | 7 lat temu | |
| phpunit.xml | 7 lat temu | |
| readme.md | 6 lat temu | |
| server.php | 7 lat temu | |
| webpack.mix.js | 7 lat temu |
cd,npm install创建好数据库php artisan key:generatephp artisan migratephp artisan db:seed用户名:user1;密码:123456
生成文档 apidoc -i app/Http/Controllers/Api/V1 -o public/apidoc
api文档在public/apidoc里面, 也可以看上面的 在线api文档
####注意第一次安装的时候要
##修改数据 update card_banner set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
update card_user_honor set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
update card_user_info set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
update card_user_progress set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
update card_user_project set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
update card_user_trend set userid = 'wx3e31dfff4c194c06' where user_id = 'wx3e31dfff4c194c06';
sudo apt-get install imagemagick libmagickwand-dev
sudo apt-get install python-gtk2-dev
sudo apt-get install libqt4-dev
sudo apt-get install libv4l-dev
wget http://downloads.sourceforge.NET/project/zbar/zbar/0.10/zbar-0.10.tar.gz
tar -zvxf zbar-0.10.tar.gz
export CFLAGS=""
./configure --disable-video
sudo make && make install
sudo ldconfig
git clone git@github.com:jorissteyn/php-zbarcode.git
git checkout -b php7 origin/gophp7
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install 添加:extension=zbarcode.so 到php.ini配置文件