Skip to content

kyy1996/djwebmaster-laravel

Repository files navigation

Website of WebmasterClub at Shanghai Dianji University

https://www.djwebclub.com

Instruction for deployment

Configure

Copy the environment configuration

cp .env.example .env

and add your database connection and SMTP Server info to it.

vim .env

Install

Just run

./install.sh

It will execute the following instructions.

# 0. Install some dependencies
if hash pecl 2>/dev/null; then
   pecl install igbinary redis xdebug
else
   if hash apt-get 2>/dev/null; then
       apt-get install php-igbinary php-redis php-xdebug php-bcmath php-mbstring
   fi
fi

composer install

# 1. Generate the key for the application.
./artisan key:generate
# 2. Drop all existing tables in your specific database.
./artisan migrate:reset
# 2. Migrate the tables.
# 3. Fill up your database with init data.
./artisan migrate --force --seed
# 4. Install the Laravel Passport used to support OAuth Server.
./artisan passport:install --force

Default User

Username Mobile Password Role
[email protected] 18181818181 123456 Super Admin

Reinstall

Reinstall like an new application according to Instruction for deployment

Just run

./install.sh

Uninstall

Clean your database

./artisan migrate:reset

Laravel

Build Status Total Downloads Latest Stable Version License

License

The Website is open-sourced software licensed under the MIT license.

About

Website of WebmasterClub at Shanghai Dianji University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published