Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,24 @@ For an existing Laravel site, this package can be composer-required to provide t
```shell
php artisan starterkit:install
```
Note: When using as a library or updating an installation, you will not want to install the project files. You may still want to install the theme assets, view components, and possibly example files. Be aware that these will overwrite existing files.
The `starterkit:install` command prompts for a set of install options, so it is safe to run and then make selections.

Note: When using as a library or updating an installation, you will not want to install the project files. You may still want to install the theme assets, view components, and possibly example files. Be aware that these will overwrite existing files.

## Libraries

The libraries included in the Starter Kit are documented in their respective README files:

- [Contact/PhoneNumber](src/Contact/README.md): A library for parsing and formatting a phone number.
- [CUAuth](src/CUAuth/README.md): A middleware for authorizing Laravel users, mostly for Apache mod_shib authentication.
- [CUAuth](src/CUAuth/README.md): A middleware for authorizing Laravel users, mostly for single sign-on with Apache mod_shib or SAML PHP Toolkit.

## Deploying a site
Once a Media3 site has been created, you have confirmed you can reach the default site via a web browser, and you have access to the site login by command line, the code can be deployed.

You will likely need to map the `php` command to the correct version by editing `~/.bashrc` to include this alias (for this to take effect, run `source ~/.bashrc` or just log in again):
```shell
# User specific aliases and functions
alias php="/usr/local/bin/ea-php81"
alias php="/usr/local/bin/ea-php83"
```

Since `www/your-site/public` will already exist, you need to do a little moving things around to git clone your site repo from GitHub:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "library",
"require": {
"php": "^8.3",
"cornell-custom-dev/laravel-cu-auth": "^1.1",
"cubear/cwd_framework_lite": "^3.0",
"giggsey/locale": "^2.8",
"illuminate/support": "^11.0|^12.0",
Expand All @@ -30,8 +31,7 @@
"extra": {
"laravel": {
"providers": [
"CornellCustomDev\\LaravelStarterKit\\StarterKitServiceProvider",
"CornellCustomDev\\LaravelStarterKit\\CUAuth\\CUAuthServiceProvider"
"CornellCustomDev\\LaravelStarterKit\\StarterKitServiceProvider"
]
}
},
Expand Down
52 changes: 0 additions & 52 deletions config/cu-auth.php

This file was deleted.

29 changes: 0 additions & 29 deletions src/CUAuth/CUAuthServiceProvider.php

This file was deleted.

110 changes: 0 additions & 110 deletions src/CUAuth/DataObjects/ShibIdentity.php

This file was deleted.

15 changes: 0 additions & 15 deletions src/CUAuth/Events/CUAuthenticated.php

This file was deleted.

41 changes: 0 additions & 41 deletions src/CUAuth/Http/Controllers/AuthController.php

This file was deleted.

33 changes: 0 additions & 33 deletions src/CUAuth/Listeners/AuthorizeUser.php

This file was deleted.

50 changes: 0 additions & 50 deletions src/CUAuth/Middleware/ApacheShib.php

This file was deleted.

Loading