Trinity Introduction to Computer Programming using JavaScript and Game Development 22-23
Class is on Wednesdays : 1:00pm
Students will work with there personal notebook computer.
(1) From windows {File Explorer} find ..\Trinity
(2) There should be a folder called: ..\Computer_Progamming
(3) Also a sub folder called week 1,2,3,...
** this is where we want to store our down loads.
(so you can review them on your own)
** Each Week's Homework includes:
Reading the *.pdf (file from the previous class),
and reviewing the class work.
Students with a PC will use Fenix(web server), students with a MAC will use <Terminal> which is part of the Operating System. Once inside Terminal you get the "$" prompt; here are 2 commands you use:
LS = list structures (show the files & directories)
cd = Change Directory...
Point to the directory where your code is located (index.html) to each week...
cd desktop
cd trinity
cd Computer_Programming
cd week_xx
once there, launch the command
<<Depending on your Operating System>>
for Python 2:
python -m SimpleHTTPServer 1025
(incrementing higher each time, 1026,1027,...)
For python 3:
python3 -m http.server 1025
(incrementing higher each time, 1026,1027,...)
Then launch a browser (Chrome, Safari, ...)
go to this address:
localhost:1025
(whatever number you put, must be higher than 1025 and less than 8000)
Students will work with there personal notebook computer.
(1) From windows {File Explorer} find ..\Trinity
(2) There should be a folder called: ..\Computer_Progamming
(3) Also a sub folder called week 1,2,3,...
** this is where we want to store our down loads.
(so you can review them on your own)
** Each Week's Homework includes:
Reading the *.pdf (file from the previous class),
and reviewing the class work.
Students with a PC will use Fenix(web server), students with a MAC will use <Terminal> which is part of the Operating System. Once inside Terminal you get the "$" prompt; here are 2 commands you use:
LS = list structures (show the files & directories)
cd = Change Directory...
Point to the directory where your code is located (index.html) to each week...
cd desktop
cd trinity
cd Computer_Programming
cd week_xx
once there, launch the command
<<Depending on your Operating System>>
for Python 2:
python -m SimpleHTTPServer 1025
(incrementing higher each time, 1026,1027,...)
For python 3:
python3 -m http.server 1025
(incrementing higher each time, 1026,1027,...)
Then launch a browser (Chrome, Safari, ...)
go to this address:
localhost:1025
(whatever number you put, must be higher than 1025 and less than 8000)