In order to see your Three.js project on your own computer you have to run "localhost":
- Windows: You can use WAMP, or any simple local server
- OSX: In terminal, go to your public/name/ folder and type: php -S 0.0.0.0:8000
- Linux: In terminal, go to your public/name/ folder and type: python -m SimpleHTTPServer
- Otherwise, you can try running Chrome with the flags --disable-web-security
three.js, TweenMax.js, isMobile
Everything we're working on will be automatically deployed online here: https://classes.marpi.pl/resonate/
For everyone at the workshop, there is a folder with your name, in /public/ directory. After you point the server from previous step to it, you'll be able to see your project. After you commit any changes during class, the copy will appear on the main server, that will let you test it on your phone.
For example, for /public/adam/ - https://classes.marpi.pl/resonate/public/adam/.
Just make sure you edit only your personal project :)
See you soon
Marpi