BFH Handwriting Website: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
Line 36: Line 36:
* Deploy using PHPStorm's '''Sync with deployed to..." command.
* 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.
** 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 ==
[[File:BFH_Shopping_Cart_Flowchart.png|source [https://drive.google.com/file/d/0B7mrkY0aCZqrRVl4SW5vVFhMNEk/view?usp=sharing|BFH Shopping Cart Flowchart] (Google Drive)]]

Revision as of 00:43, 21 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.

Shopping Cart

source Shopping Cart Flowchart (Google Drive)