GithubHelp home page GithubHelp logo

guoyu07 / art Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linjinmin/art

0.0 0.0 0.0 15.34 MB

作品分享网站

PHP 8.92% ApacheConf 0.02% CSS 10.34% JavaScript 78.67% ActionScript 0.24% Go 0.10% Python 0.09% Vue 0.01% HTML 1.61%

art's Introduction

一个分享作品的网站,浏览地址:

	http://101.200.52.189:9876/home/index

使用教程

首先,下载代码

重命名配置文件

	mv env.example .env

执行composer install 命令

	composer install

编辑配置文件.env

	...
	DB_DATABASE=
	DB_USERNAME=
	DB_PASSWORD=
	...  
	# 注册服务使用了sendcloud的邮箱服务
	SEND_CLOUD_USER=
	SEND_CLOUD_KEY=

编辑config/ddl.php文件

	// 邮箱来源
    'email' => 'xxxx',
    // 邮箱模版  -> sendcloud 中自定义的邮箱模版
    'email_template' => 'xxxx',

执行迁移数据库命令,以及数据填充命令

	php artisan migrate   // 迁移数据库
	php artisan db:seed   // 数据填充

生成key

	php artisan key:generate

如果不想使用邮箱服务,可在app/DDL/Services/AuthService.php 中暂停邮件服务 注释掉即可, 位于67行-74行

art's People

Contributors

linjinmin avatar

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.