This is Project Padawan, a personality test tool that puts an emphasis on accuracy. This open source project is designed with the intentions of making you a better you.
The Latest Version
Documentation/Information
Description | Links to the good stuff |
---|---|
The test plan document covers the plan for testing product. | |
The slack channel to communicate with the team. | |
Trello board for ideas/collaboration on the project. |
Requirements
- Nodejs
- Meteor
- Docker
How to
Run Padawan on your localhost
- Install Docker here:
- Clone Padawan Repo (URL
is above)
- Make sure Padawan is shared with Docker
- [Run]
cd padawan
npm install
meteor reset
(gets rid of .meteor/local if exists)- [Run]
cd {Your Path}/padawan/docker/dev
docker-compose build
docker-compose up
- Browse to localhost:3000 and see the app running
- Login with the Default admin credentials:
[email protected]
andadmin
- Create some of your own questions here: http://localhost:3000/addQuestions/IE
Mac and Linux Users
There is an installation script available at this repository: https://github.com/thebigtoona/padawaninstall
- Make sure that docker, node, meteor and git are installed first
- Create a directory where you would like all the padawan dependencies to be installed at and run the script according to the instructions in the README for the installation script repo
Extra Notes
- Use Compass to edit the admin user: https://www.mongodb.com/products/compass
- Mark the admin user email as verified.
- Mongo is on port 3001
- HELP I'M A NEW DEVELOPER
Run Nightwatch Tests
Requirements
- Selenium standalone server running on port 4444 (npm is great option to install)
- Padawan running on localhost:3000
How to run
- Navigate to nightwatch.json, under
"selenium"
set"start_process"
:false,
- Double check that a selenium server is running on port 4444, and padawan on localhost:3000
cd padawan
, and runnpm run test-e2e
Optional
- Navigate to nightwatch.json, under
"test_settings"
>"desiredCapabilities"
>"chromeOptions"
,"--headless"
can be removed to see the tests run in the browser
Run Mocha Tests
How to run
cd padawan
- run
npm run test
Note
- No need to have padawan running,
npm run test
will start up padawan on localhost:3000 and run the tests
Licensing
Contacts
o Sponsored by paladinarcher.com