Intro
Read this for an intro to the codebase website:
https://docs.google.com/document/d/1Ity9jStuSoBxKO62tLzRFjfBg-VXPMVzbOQYAxYKv7E
Quick Start
cd codebase
pip install cactus
cactus serve
- Go to
localhost:8000
in your browser to view the working site.
Developing for mobile
Testing on a mobile device:
- Find out your local ip adress: run
ipconfig
on terminal and write down the IPv4 address. (e.g.10.0.0.227
) cactus serve
- Go to
http://<ip_address>:8000
from any device on your home network to view the working site.
Alternatively, you can follow the instructions to remote debug the website on a USB-connected phone here:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
This method lets you use Google Chrome's developer tools on your laptop to inspect the website being rendered on your phone.