- 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.example
asapp/.htaccess
in 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.example
asapp/config.oauth2.php
in 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_ID
andOAUTH2_CLIENT_SECRET
may be updated if necessary. Please contact[email protected]
for custom client id and secret. -
Make a copy of
app/config.php.example
asapp/config.php
in 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.example
asconfig.json
in 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.example
asapp/config.algolia.php
in 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:
gulp
orgulp proxy
.
Component
: A syntactical sugar for the JavaScript class.