PHPUnit 4.8.x
-
NodeJs 6.x.x
-
Have
Yarn
installed. See (https://yarnpkg.com/en/docs/install) -
Add
export PATH="$PATH:$(yarn global bin)"
to your~/.bash_profile
-
Have
gulp
installed at global level withyarn add global gulp
-
Have the project hosted on local Apache server and accessible at
http://localhost/whatsonsaigon/
. -
ave a mysql database named
whatsonsaigon
created. Have userwhatsonsaigon
with passwordwhatsonsaigon
accessible to the database with the same name. -
Open terminal,
cd
to the root of the project. -
run
php artisan october:up
to create tables.
-
Open terminal,
cd
to the root of the project. -
Run
npm run semantic-build
to build semantic UI.
-
Open terminal,
cd
to the root of the project. -
Enter
yarn
command to pull external dependencies. This might take a while. -
Enter
gulp
. This should start the development server and watching files atthemes/default/assets/scripts
to recompile. -
The react development server should now be started at
http://localhost:5000
. -
Enjoy coding!
Backend url: http://localhost/whatsonsaigon/backend/urbn8/wos/eventcategories
username/pass: admin/admin
October CMS has a few system requirements:
- PHP 5.5.9 or higher
- PDO PHP Extension
- cURL PHP Extension
- MCrypt PHP Extension
- ZipArchive PHP Library
- GD PHP Library
As of PHP 5.5, some OS distributions may require you to manually install the PHP JSON extension.
When using Ubuntu, this can be done via apt-get install php5-json
.
https://api.graph.cool/simple/v1/cj4jiyyppztzv0130z9strhq4
https://sourcegraph.com/github.com/stems/join-monster-demo@master/-/blob/schema-basic/Post.js
https://dev-blog.apollodata.com/exploring-relay-modern-276f5965f827 https://sourcegraph.com/github.com/apollographql/relay-modern-hello-world/-/blob/schema.graphql
https://sourcegraph.com/github.com/jscomplete/learning-graphql-and-relay/-/blob/schema/main.js#L34:4
https://sourcegraph.com/github.com/soonlive/relay-cart@master/-/blob/data/mutations/addToCartMutation.js#L41:49 https://sourcegraph.com/github.com/chrisbolin/understanding-relay-mutations@master/-/blob/examples/todo/server.js
https://sourcegraph.com/github.com/apollographql/apollo-tutorial-kit/-/blob/server.js
https://sourcegraph.com/github.com/apollographql/apollo-server-tutorial@master/-/blob/data/schema.js#L16:2 https://github.com/apollographql/apollo-server-tutorial/pull/6/files
sample graphsql mutation on organisers
- create
- update
react consumes graphql server
- create
- update
intergate mobx-state-tree with relay
routing and server rendering