-
Notifications
You must be signed in to change notification settings - Fork 7
Tips for New Devs
-
If you happen to add a mixin/component to the ember app package.json, this means you have to shrinkwrap after running npm install. Be aware npmshrinkwrap has conflicts with npm version higher than 2.x. With https://github.com/creationix/nvm, you can keep your 'system' node as whatever you like, and then install and use a specific version of node for a project.
-
To setup IHAT without going through the local setup method, Please note IHAT_CALLBACK_URL needs to be checked regularly if you notice the spinner keeps loading or it errored in http://ihat-worker-201.sfo.plos.org:8888/, check ifconfig if you're using a MAC and ascertain the last IP address corresponds with the IHAT_CALLBACK_URL in your .env.development file.
-
To run the feature specs, it's important to note you need a lower version of firefox like 54. Newer versions of Firefox are not compatible with the feature specs.
You can download here: https://ftp.mozilla.org/pub/firefox/releases/54.0/mac/en-US/. Also, lock down firefox to a version lower than 39 for selenium related tests. You can lock it down in your .env.local file with this snippet for MAC users
```
# Firefox 54
SELENIUM_FIREFOX_PATH=/Applications/Firefox.app/Contents/MacOS/firefox```
-
Have you tried logging out and you get redirected to
/cas/logout
?
AddCAS_LOGOUT_URL='http://localhost:5000'
to your.env.development
and restart your server.