BFH Handwriting Website: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
== Dependencies ==
== Dependencies ==


TK
<p class=alert alert-warning">`pip` is not installed on the Namecheap servers & won't install due to permissions errors. So it seems unlikely to be able to use `composer` to install the PHP packages.</p>
 
=== Production ===
 
* Authorizenet SDK
* PayPal REST API SDK
 
=== Development ===
 
* PHPUnit
* PHP Documentor


== Development environment ==
== Development environment ==

Revision as of 17:26, 19 February 2016

Web Development

Hosting

Website and domain name are hosted with Namecheap.

Dependencies

pip is not installed on the Namecheap servers & won't install due to permissions errors. So it seems unlikely to be able to use composer to install the PHP packages.

Production

  • Authorizenet SDK
  • PayPal REST API SDK

Development

  • PHPUnit
  • PHP Documentor

Development environment

Local

  • Host: littledamienii
  • Deploy to the local site with PHPStorm's Sync with deployed to... command.
    • Make sure to set excluded paths on the remote host before syncing.
    • Set Deployment options such that saving files automatically syncs them with the default remote host.
  • It appears that the local environment isn't adequate to test PayPal transactions since it does not have a SSL certificate and can't support https protocol.

Staging

Deploying the site

  • Deploy using PHPStorm's Sync with deployed to..." command.
    • Make sure to exclude the necessary local and remote paths from the sync, e.g. sass and vendor locally, and shared PHP directories and WordPress directories on the remote server.