|
| 1 | +# π» Kevin RS Landing Page |
| 2 | + |
| 3 | +[](https://github.com/wiseaidev) |
| 4 | +[](https://opensource.org/licenses/MIT) |
| 5 | +[](https://www.rust-lang.org/) |
| 6 | +[](https://next-rs.dev) |
| 7 | + |
| 8 | +## βοΈ Building and Running |
| 9 | + |
| 10 | +1. Fork/Clone the GitHub repository. |
| 11 | + |
| 12 | + ```bash |
| 13 | + git clone https://github.com/kevin-rs/landing |
| 14 | + ``` |
| 15 | + |
| 16 | +1. Navigate to the application directory. |
| 17 | + |
| 18 | + ```bash |
| 19 | + cd landing |
| 20 | + ``` |
| 21 | + |
| 22 | +1. Run the client: |
| 23 | + |
| 24 | + ```sh |
| 25 | + make run |
| 26 | + ``` |
| 27 | + |
| 28 | +Navigate to http://localhost:3000 to explore the landing page. |
| 29 | + |
| 30 | +## π Deploying to CloudFlare |
| 31 | + |
| 32 | +1. Install [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/get-started/): |
| 33 | + |
| 34 | + To get started with Cloudflare Workers, you'll need to install the Wrangler CLI, which is a powerful tool for managing your deployments. Open up your command-line interface and enter the following command to globally install Wrangler: |
| 35 | + |
| 36 | + ```sh |
| 37 | + npm i -g wrangler |
| 38 | + ``` |
| 39 | + |
| 40 | +1. Login to Cloudflare Account from the CLI: |
| 41 | + |
| 42 | + To seamlessly interact with your Cloudflare account, you'll need to log in using Wrangler. Run the following command in your terminal: |
| 43 | + |
| 44 | + ```sh |
| 45 | + wrangler login |
| 46 | + ``` |
| 47 | + |
| 48 | +1. Run Your Build Command: |
| 49 | + |
| 50 | + Before deployment, you need to build the project. Execute the following command to share the app with the world: |
| 51 | + |
| 52 | + ```sh |
| 53 | + make build |
| 54 | + ``` |
| 55 | + |
| 56 | +1. Create a New Deployment: |
| 57 | + |
| 58 | + Execute the following command to deploy the app with Wrangler Pages: |
| 59 | + |
| 60 | + ```sh |
| 61 | + wrangler pages deploy dist |
| 62 | + ``` |
| 63 | + |
| 64 | +## π€ Contributing |
| 65 | + |
| 66 | +We welcome contributions to enhance the kevin-rs landing page repository! Thank you for helping make this project better! |
| 67 | + |
| 68 | +## π License |
| 69 | + |
| 70 | +This project and the accompanying materials are made available under the terms and conditions of the [`MIT License`](LICENSE). |
0 commit comments