-
Notifications
You must be signed in to change notification settings - Fork 7
Testing
Filip Hnízdo edited this page Aug 4, 2016
·
1 revision
- install the following global command $> npm install -g grunt-cli jasmine-node pm2
- clone the iris-project-template or you may setup your own site by following the iris wiki and add the package.json dev-dependencies to be found in iris-project-template $> git clone https://github.com/CityWebConsultants/iris-project-template.git
- install all the package.json dependencies including dev $> npm install --only=dev
- navigate to your test mongodb and import the following json file, you may ommit this import, by modifying the test_config.js available in the test folder to you current set of admin account
$> mongoimport --db mysite --collection users --file fixtures/users.json $ > mongoimport --db mysite --collection pages --file fixtures/pages.json 5.to save on console, you may run the iris site in pm2 instance $> pm2 start index.js(or your site script file) - run the test $> grunt default
- Setting up an Iris site
- Folder structure
- Module system
- Restarting the server after code changes
- Hook system
- Entity system
- Theme and template system
- Form system
- Text filters
- Message system
- Routing system
- Sessions, authentication, user and permission systems
- Configuration system
- Menu system
- Translation system
- Triggers
- Websocket system
- Logs
- Adding tags (meta, css, javascript) to templates dynamically
- Block and region system