-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocalhost.html
More file actions
40 lines (37 loc) · 2.25 KB
/
localhost.html
File metadata and controls
40 lines (37 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CarrotScript Localhost</title>
<link rel="shortcut icon" type="image/jpg" href="favicon.png"/>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/570e7065ed.js" crossorigin="anonymous"></script>
<script src="https://carrotscript.github.io/example.js"></script>
<script src="https://carrotscript.github.io/plugin.js"></script>
</head>
<body>
<h1><img src="logo_transparent.png" width="200"></h1>
<h1>Local Testing Server</h1>
<p>
Have you ever wanted to create a local testing server? Instead of installing Apache or XAMPP (the list goes on and on), use our CarrotScript Local Testing Server.<br><br>
<h2>Installation</h2><br>
Open your terminal. Make sure your have <a href="https://pip.pypa.io/en/stable/installation/">PIP</a> installed.<br>
<br>
Run the following command:<br><br>
<i class="fab fa-windows"></i><br>Windows<br>
<pre><span class="unselectable">$</span><span> </span>pip install carrotscript</pre><br><br>
<i class="fab fa-apple"></i><span> </span><span>/</span><span> </span><i class="fab fa-linux"></i><br>Mac/Linux<br>
<pre><span class="unselectable">$</span><span> </span>pip3 install carrotscript</pre><br><br>
<h2>Usage</h2><br>
Create a file with <code>from carrotscript import carrotscript</code> and name it <code>lh.py</code>. Then, make sure python is installed, type in the terminal:<br>
<i class="fab fa-windows"></i><br>Windows<br>
<pre><span class="unselectable">$</span><span> </span>python lh.py</pre><br><br>
<i class="fab fa-apple"></i><span> </span><span>/</span><span> </span><i class="fab fa-linux"></i><br>Mac/Linux<br>
<pre><span class="unselectable">$</span><span> </span>python3 lh.py</pre><br><br>
</p>
</body>
</html>