diff --git a/docs/the-basics.md b/docs/the-basics.md index 714a46e..83d57b1 100644 --- a/docs/the-basics.md +++ b/docs/the-basics.md @@ -1,40 +1,11 @@ ---- -id: the-basics -title: The Basics -sidebar_label: The Basics -slug: / ---- +# Clone the repository +git clone https://github.com/Anuj579/sweet-favor.git -## Put a locally running HTTP, HTTPS or TLS app on the internet +# Navigate into the folder +cd sweet-favor -localhost.run is a client-less tool to instantly make a locally running application available on an internet accessible URL. +# Install dependencies +npm install -All major operating systems already have SSH installed, and localhost.run uses SSH as a client, so no download is necessary to use the service and no account setup is needed for free domains. - -To connect an internet domain to an application running locally on port 8080 open a command terminal and run: - -```bash -ssh -R 80:localhost:8080 localhost.run -``` - -import { useState } from 'react' - -export const PortChooser = () => { - const [port, setPort] = useState(3000); - return ( - <> - running on  - -   - setPort(event.target.value)} /> - ? - use this command: -
{`ssh -R 80:localhost:${port} localhost.run
-`}
- - ) -}; - - +# Start the development server +npm run dev