BFH Handwriting Website: Difference between revisions

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


<p class=alert alert-warning">`composer` 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>
<p class="alert alert-warning">`composer` 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 ===
=== Production ===

Revision as of 11:26, 4 May 2018

Hosting

Website and domain name are hosted with Namecheap.

Dependencies

composer 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.

Shopping Cart

(Source: Google Drive)