Skip to content

Latest commit

 

History

History
91 lines (75 loc) · 3.14 KB

README.md

File metadata and controls

91 lines (75 loc) · 3.14 KB

Logo

Repo for implementation of Logo in JavaScript p5

Useful links

Getting Started

Getting started just takes 3 simple steps, each one is a command in the terminal.

  1. Clone this GitHub repository.
  2. Navigate inside the repository directory on your machine.
  3. Host the directory with a local web server.

There are a few easy ways to achieve step number 3 depending on what you already have installed:

Node Package Manager (NPM)

If you have NPM installed you can use the live-server NPM package. The neat thing about live-server is that it automatically refreshes the web page every time you change a file.

If you don't have NPM installed you can download and install it here.

Once you have NPM, install live-server globally with npm install --global live-server.

Then run the following commands in your terminal.

git clone https://github.com/CodingTrain/Logo.git
cd Logo
live-server --port=8080 .

Don't forget the dot at the end of the command on MacOS!

Finally, you can open http://localhost:8080 in your browser and you're away!

Note that when you close the terminal window, the web server will stop as well.


Python 2.x

You can use the SimpleHTTPServer python module.

If you don't have Python 2 installed you can download and install it here.

Then run the following commands in your terminal.

git clone https://github.com/CodingTrain/Logo.git
cd Logo
python -m SimpleHTTPServer 8080

Finally, you can open http://localhost:8080 in your browser and you're away!

Note that when you close the terminal window, the web server will stop as well.


Python 3.x

You can use the http.server python module.

If you don't have Python 3 installed you can download and install it here.

Then run the following commands in your terminal.

git clone https://github.com/CodingTrain/Logo.git
cd Logo
python3 -m http.server 8080

Finally, you can open http://localhost:8080 in your browser and you're away!

Note that when you close the terminal window, the web server will stop as well.