Repository for turn based game hosted at www.playtotm.com
- Nathan Phennel - front-end, dev-ops
- Habib Adam - game-engine, database structure
- Download web2by for mac: http://www.web2py.com/examples/static/web2py_osx.zip
- Once downloaded, unzip and it goes to /Applicaitons folder
- Open Terminal
- Go into the web2py applications folder:
cd /Applications/web2py.app/Contents/Resources/applications
- Cloning your repo into your local web2py framework:
git clone https://github.com/bibzzzz/playtotm.git
Now we can pull and push code using this dir and github. And share identical setups to make it easier to resolve issues.
- Open up your favorite IDE (my fave atm is vscode from mcsft)
- Open the web2py app in the ide (may not work on all IDEs)
- Use the side nav panel to find "Contents/Resources/applications/playtotm/"
- Magic finger keyboard dance
- Double-click the web2py app
- In the app window, type in any password (required for local admin site access)
- Click "Start-Server"
- Open Chrome icognito (or opera if you're cool like me... ☺)
- Pop into the address bar:
http://127.0.0.1:8700/playtotm/default/index
- Change something, refresh. May need to clear cache in browser for some things.