BFH Handwriting Website

From Littledamien Wiki
Jump to navigation Jump to search

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

  • Host: PHPStorm provides a built-in server at http://localhost:63342/bfhhand_web/ (63342 is the default port.) [1]
  • When IS_DEV is set to true in the app_state.php config file, the URL above will be used as the base URL of the site. Otherwise the production URL will be used.

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)

See also

External links

Notes

  1. Built-In Web Server -- PHPStorm documentation