spacer
spacer

 

How To Install SurvLoop

After You've Installed Laravel

 

Install Laravel's default user authentication, notifications, and SurvLoop:

$ php artisan make:auth
$ php artisan vendor:publish --tag=laravel-notifications

 

Update `composer.json` to add requirements and an easier SurvLoop reference:

$ nano composer.json
...
"require": {
	...
    "wikiworldorder/survloop": "0.*",
	...
},
...
"autoload": {
	...
	"psr-4": {
		...
		"SurvLoop\\": "vendor/wikiworldorder/survloop/src/",
	}
	...
}, ...
$ composer update

 

Add the package to your application service providers in `config/app.php`.

$ nano config/app.php
...
    'name' => 'SurvLoop',
...
'providers' => [
	...
	SurvLoop\SurvLoopServiceProvider::class,
	...
],
...
'aliases' => [
	...
	'SurvLoop'	=> 'WikiWorldOrder\SurvLoop\SurvLoopFacade',
	...
], ...

 

Swap out the SurvLoop user model in `config/auth.php`.

$ nano config/auth.php
...
'model' => App\Models\User::class,
...

 

Update composer, publish the package migrations, etc...

$ php artisan vendor:publish --force
$ php artisan migrate
$ composer dump-autoload
$ php artisan db:seed --class=SurvLoopSeeder

 

For now, to apply database design changes to the same installation you are working in, depending on your server, you might also need something like this...

$ chown -R www-data:33 app/Models
$ chown -R www-data:33 database

 

Browse to load the style sheets, etc.. /dashboard/css-reload