forked from cachethq/cachet
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Piotr Grabowski edited this page Oct 7, 2016
·
3 revisions
./afterdeploy
is a script that clears all cache and re-compiles the php code for optimization.
to install & run:
- copy
.env.example
to.env
and fill out the required parameters - then:
-
./composer.phar install
to load all vendor libraries -
php artisan key:generate
to generate a key inside .evn file -
php artisan migrate
creates the database tables php artisan serve
-
php artisan config:clear
comes in handy whenever you change any settings inside theconfig
directory or.env
file
another thing about the .env
file is
APP_ENV=dev
APP_DEBUG=true
might come in handy as well ;)
$ php artisan tinker
>>> \CachetHQ\Cachet\Models\User::create([
"username"=>"admin","password"=>"test","active"=>1, "level"=>1,"email"=>"me@fandom.com"
]);