BFH Handwriting Website: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:
=== Local ===
=== Local ===


* '''Host:''' ''TK''
* '''Host:''' PHPStorm provides a built-in server at [http://localhost:63342/ http://localhost:63342/] ('''63342''' is the default port.)
* 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 ===
=== Staging ===
Line 37: Line 33:


== Deploying the site ==
== Deploying the site ==
See [[BFH Handwriting Website Deployment]].


* Deploy using PHPStorm's '''Sync with deployed to..." command.
* Deploy using PHPStorm's '''Sync with deployed to..." command.

Revision as of 12:57, 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

Unit testing

TK. Selenium? See Using PHPUnit

Local

Staging

Deploying the site

See BFH Handwriting Website Deployment.

  • 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)