chore: update readme for running locally command

This commit is contained in:
satnaing
2022-10-19 19:02:10 +06:30
parent 72915bfa6c
commit f3adbd7957
+4 -27
View File
@@ -80,42 +80,19 @@ Documentation can be read in two formats\_ _markdown_ & _blog post_.
## 👨🏻‍💻 Running Locally ## 👨🏻‍💻 Running Locally
Clone the project The easiest way to run this project locally is to run the following command in your desired directory.
```bash ```bash
git clone https://github.com/satnaing/astro-paper.git npm create astro@latest -- --template satnaing/astro-paper
``` ```
Go to the project directory Don't forget to remove Google site varification.
```bash
cd astro-paper
```
Remove remote origin
```bash
git remote remove origin
```
Remove Google site verification
```bash ```bash
# in your project directory
rm -rf public/googlebbcd930f1ecacd3a.html rm -rf public/googlebbcd930f1ecacd3a.html
``` ```
Install dependencies
```bash
npm install
```
Start the server
```bash
npm run dev
```
## 🧞 Commands ## 🧞 Commands
All commands are run from the root of the project, from a terminal: All commands are run from the root of the project, from a terminal: