Setting up a Simple Web Server

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€63.84
List Price:  €91.20
You save:  €27.36
£54.52
List Price:  £77.89
You save:  £23.37
CA$99.83
List Price:  CA$142.62
You save:  CA$42.79
A$116.41
List Price:  A$166.31
You save:  A$49.89
S$94.32
List Price:  S$134.75
You save:  S$40.42
HK$543.61
List Price:  HK$776.63
You save:  HK$233.01
CHF 59.66
List Price:  CHF 85.24
You save:  CHF 25.57
NOK kr764.61
List Price:  NOK kr1,092.34
You save:  NOK kr327.73
DKK kr476.51
List Price:  DKK kr680.76
You save:  DKK kr204.24
NZ$125.56
List Price:  NZ$179.38
You save:  NZ$53.82
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.18
৳8,503.11
List Price:  ৳12,147.82
You save:  ৳3,644.71
₹6,008.20
List Price:  ₹8,583.51
You save:  ₹2,575.31
RM313.55
List Price:  RM447.95
You save:  RM134.40
₦108,249.33
List Price:  ₦154,648.53
You save:  ₦46,399.20
₨19,769.81
List Price:  ₨28,243.80
You save:  ₨8,473.98
฿2,426.44
List Price:  ฿3,466.50
You save:  ฿1,040.05
₺2,660.39
List Price:  ₺3,800.72
You save:  ₺1,140.33
B$408.74
List Price:  B$583.95
You save:  B$175.20
R1,356.64
List Price:  R1,938.15
You save:  R581.50
Лв124.60
List Price:  Лв178.01
You save:  Лв53.41
₩102,681.74
List Price:  ₩146,694.49
You save:  ₩44,012.74
₪265.16
List Price:  ₪378.82
You save:  ₪113.65
₱4,019.70
List Price:  ₱5,742.67
You save:  ₱1,722.97
¥10,220.53
List Price:  ¥14,601.38
You save:  ¥4,380.85
MX$1,452.45
List Price:  MX$2,075.02
You save:  MX$622.57
QR255.15
List Price:  QR364.51
You save:  QR109.36
P980.84
List Price:  P1,401.27
You save:  P420.42
KSh9,063.70
List Price:  KSh12,948.70
You save:  KSh3,885
E£3,602.03
List Price:  E£5,145.98
You save:  E£1,543.95
ብር9,212.76
List Price:  ብር13,161.65
You save:  ብር3,948.88
Kz64,110.84
List Price:  Kz91,590.84
You save:  Kz27,480
CLP$68,617.64
List Price:  CLP$98,029.41
You save:  CLP$29,411.76
CN¥511.76
List Price:  CN¥731.12
You save:  CN¥219.36
RD$4,447.43
List Price:  RD$6,353.75
You save:  RD$1,906.31
DA9,355.26
List Price:  DA13,365.23
You save:  DA4,009.97
FJ$163.49
List Price:  FJ$233.57
You save:  FJ$70.07
Q540.18
List Price:  Q771.72
You save:  Q231.53
GY$14,642.48
List Price:  GY$20,918.72
You save:  GY$6,276.24
ISK kr9,277.17
List Price:  ISK kr13,253.67
You save:  ISK kr3,976.50
DH665.72
List Price:  DH951.07
You save:  DH285.35
L1,241.62
List Price:  L1,773.82
You save:  L532.20
ден3,908.87
List Price:  ден5,584.34
You save:  ден1,675.47
MOP$560.74
List Price:  MOP$801.10
You save:  MOP$240.35
N$1,342.92
List Price:  N$1,918.54
You save:  N$575.62
C$2,591.46
List Price:  C$3,702.25
You save:  C$1,110.78
रु9,558.45
List Price:  रु13,655.52
You save:  रु4,097.06
S/256.96
List Price:  S/367.11
You save:  S/110.14
K288.77
List Price:  K412.55
You save:  K123.77
SAR262.67
List Price:  SAR375.26
You save:  SAR112.59
ZK1,943.90
List Price:  ZK2,777.13
You save:  ZK833.22
L317.79
List Price:  L454.01
You save:  L136.21
Kč1,607.44
List Price:  Kč2,296.44
You save:  Kč689
Ft26,064.36
List Price:  Ft37,236.40
You save:  Ft11,172.03
SEK kr707.53
List Price:  SEK kr1,010.80
You save:  SEK kr303.27
ARS$75,128.78
List Price:  ARS$107,331.43
You save:  ARS$32,202.65
Bs483.58
List Price:  Bs690.86
You save:  Bs207.28
COP$292,647.41
List Price:  COP$418,085.65
You save:  COP$125,438.23
₡35,625.45
List Price:  ₡50,895.68
You save:  ₡15,270.23
L1,801.83
List Price:  L2,574.15
You save:  L772.32
₲564,580.61
List Price:  ₲806,578.30
You save:  ₲241,997.69
$U2,948.59
List Price:  $U4,212.46
You save:  $U1,263.86
zł274.38
List Price:  zł391.99
You save:  zł117.60
Already have an account? Log In

Transcript

Before we can start creating our games, we need to have a web server we can use. The reason for this is internet security. So you can start loading images and assets that your games require if you're working with a local file system, because your browser isn't allowed to work with the local file system at all. So it's essential that you have a web server to use. That could be a remote one, but it's it's very easy. If it's all on your local machine.

There are lots of ways you can do it. So the simplest I find is web server for Chrome. So if you do a search for that, you'll find when you go to you need to be in Chrome. You find it on webstore. And you'll come to the web server for Chrome install it And then once you've installed it, you can launch it. Firstly, you need to choose a folder.

So wherever your files are going to be, put them in that. That's where you want you choose chosen folder to be. For me, I selected this folder. And the game that we're going to be developing is this one called Lost Treasure, which I've got a variety of different versions of it, we couldn't be working our way through. And then you can start to see it. It'll open in your default browser.

So in my instance, I'm working on a market Safari. And if I go to the folder where the game is straight away we have the game working in progress. couldn't be simpler. So now we have the facility to view something via web server for Chrome. There we have the game. Home name from the file system chose to the folder.

But uh, but no complaints from the browser, because it's deal is dealing with all the content via an HTTP server. And now it's running from local host local host is usually one to seven dot zero dot zero dot one. And this is working from a particular port on that, which in this instance is 8887. couldn't be simpler.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.