- Apache
- PHP ^5.4
- MySQL ^5.5
Development dependencies please check in package.json.
-
Install development dependencies:
npm install -
Make a copy of
app/.htaccess.exampleasapp/.htaccessin the same directory.Then replace
<http-host>with the local host, e.g.localhost, if the website is hosted onhttp://localhost/*. -
Make a copy of
app/config.oauth2.php.exampleasapp/config.oauth2.phpin the same directory.Then replace
<http-host>with the local host same as above, e.g.localhost, if the website is hosted onhttp://localhost/*.Currently, the login mechanism utilizes OAuth 2 at
https://accounts.mintkit.net/.OAUTH2_CLIENT_IDandOAUTH2_CLIENT_SECRETmay be updated if necessary. Please contact[email protected]for custom client id and secret. -
Make a copy of
app/config.php.exampleasapp/config.phpin the same directory.Then replace
<http-host>with the local host same as above, e.g.localhost, if the website is hosted onhttp://localhost/*.Then replace
<mysql-host>,<mysql-database>,<mysql-user>and<mysql-password>with the corresponding database information.A database seed is available at
db/seed.sql. -
Make a copy of
config.json.exampleasconfig.jsonin the same directory.Then replace
<server-proxy>with the url to the locally hosted website, e.g.http://localhost/, under which is theapp/contents. -
Make a copy of
app/config.algolia.php.exampleasapp/config.algolia.phpin the same directory.Then replace
<algolia-app-id>,<algolia-api-key>and<algolia-index>with the corresponding values from Algolia. -
Front-end build:
gulp build.Or start the front-end build and watch for changes:
gulporgulp proxy.
Component: A syntactical sugar for the JavaScript class.