Whysaurus
License:
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Basic Setup Instructions:
- Clone
- Get constants.py from a collaborator and put it in this directory
- Get the Google App Engine SDK/Launcher for Python
bin/compilelessc.sh
-- for Windows try WinLESS, and only compile the files listed in bin/compilelessc.sh, and set their output (by right clicking on the files) to /static/css. For MAC we have used SimpLESS, but have needed to apply this patch: https://gist.github.com/hlop/4951717bin/run.sh
or run in the Google App Engine Launcher and set to port 8081
Detailed Setup Instructions:
-
Make a github account: https://github.com/
-
Get Directory:
Go to: https://github.com/aaronlifshin/whysaurus
Download the directory folder zip from the right column
Get constants.py from a collaborator and put it in the directory folder -
Google App Engine:
Go to: https://cloud.google.com/appengine/downloads
Download and Install App Engine SDK for Python
Open GoogleAppEngineLauncher
File > Add existing application
Browse for directory folder
Admin port can be any number
Port needs to be 8081
Select row for your directory and click “run”
When you click “browse” you should be able to see the unstyled Whysaurus site in your Browser -
SimpLESS:
Download and install SimpLESS: http://wearekiss.com/simpless
Open SimpLESS
In your directory folder, find less folder
From that folder drag and drop bootstrap.less, new.less and responsive.less into SimpLESS
For all three files, click on the fielder icon to change the path to static > css. Also change the responsive css file name to bootstrap-responsive.css
Click the refresh icons
You may need to apply this patch: https://gist.github.com/hlop/4951717/ (download gist, close SimpLESS, right-click SimpLESS in your applications folder and select show package contents, copy the downloaded less.js to SimpLESS\Resources\app\3p and overwrite the existing file
If you refresh your locally hosted Whysaurus page, it should now have the correct styling -
Create a Whysaurus account
-
Make your Whysaurus account an admin
In GoogleAppEngineLauncher, click SDK Console
Select Datastore Viewer from the left menu
Select WhysaurusUser from the Entity Kind drop-down menu and click list entries
Click on the key of your new Whysaurus account
Change Admin to true
Scroll down to click save
Click Flush Memcache