Bare minimum to deploy to production

52 views
Skip to first unread message

Risto

unread,
Nov 15, 2015, 5:08:37 AM11/15/15
to cfpayment
Hi,

When deploying cfpayment to production I assume I can remove

/contrib
/docs/
/tests
/api/gateways/ all the ones I'm not using

Anything else I can remove?

Thanks

Brian G

unread,
Nov 16, 2015, 4:28:01 PM11/16/15
to cfpayment

That sounds correct, but given that cfpayment is explicitly configured, there's nothing that I'm aware of that could be exploited. I would keep the directory out of your webroot as a standard best practice for service layer and libraries, but there's no need to pare it back. The main drawback is that updating the library becomes harder so you tend not to do it...


Brian
Reply all
Reply to author
Forward
0 new messages