This is a web-based version of Robert and Jonas Gifford's "FISH", a fish banks simulator for environmental psychology studies.
More information on the original FISH here: http://web.uvic.ca/~rgifford/fish/
Please ensure these requirements are installed before proceeding to the Installation section.
- Node (and npm)
- Mongodb
- Ruby
- Sass (through
gem install sass
)
- Navigate to the fish directory in a terminal window
- Run the command
npm install
(install dependencies specified in the package.json file)
- Note: You may need escalated privileges to run and will get an error. If so, use the command
sudo npm install
instead. - NOTE: This will run a script post install as well. See: Usage.
- Run the command
npm start
(on Windows or OSX) ornodejs app.js
on Linux to start the server. - Navigate to localhost:8080
These are located in the developer_scripts folder
npm run populatedb
Run post-install.- This populates the database with a user "Admin" and a password "123456789"
npm run cleandb
This will clean all the collections defined in the file (experimenters, microworlds, and sessions)npm run resetdb
runs cleandb then populatedbnpm run devreset
runs cleandb then populate db and then starts up the server.npm run sass
watches for style changes
-
Navigate to http://localhost:8080/admin
-
Log in with the following credentials:
- Username:
Admin
- Password:
123456789
- Username:
-
You now have access to the microworlds
-
Create and activate a microworld if you wish to run an experiment with users Note: Look at the Code for the experiment on an active microworld. eg
Active Microworld: QQ5HQP
- Navigate to http://localhost:8080/
- Enter the Experiment number of an active microworld
- Enter an ID number
- Fish!
- Black Fish Icon made by Freepik from www.flaticon.com is licensed under CC BY 3.0
- Lighthouse Icon made by Icons8 from www.flaticon.com is licensed under CC BY 3.0
- Sailboat Icon made by Freepik from www.flaticon.com is licensed under CC BY 3.0
- Fishing Icon made by Icons8 from www.flaticon.com is licensed under CC BY 3.0