mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
chore: update readme for running locally command
This commit is contained in:
@@ -80,42 +80,19 @@ Documentation can be read in two formats\_ _markdown_ & _blog post_.
|
||||
|
||||
## 👨🏻💻 Running Locally
|
||||
|
||||
Clone the project
|
||||
The easiest way to run this project locally is to run the following command in your desired directory.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/satnaing/astro-paper.git
|
||||
npm create astro@latest -- --template satnaing/astro-paper
|
||||
```
|
||||
|
||||
Go to the project directory
|
||||
|
||||
```bash
|
||||
cd astro-paper
|
||||
```
|
||||
|
||||
Remove remote origin
|
||||
|
||||
```bash
|
||||
git remote remove origin
|
||||
```
|
||||
|
||||
Remove Google site verification
|
||||
Don't forget to remove Google site varification.
|
||||
|
||||
```bash
|
||||
# in your project directory
|
||||
rm -rf public/googlebbcd930f1ecacd3a.html
|
||||
```
|
||||
|
||||
Install dependencies
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
Start the server
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## 🧞 Commands
|
||||
|
||||
All commands are run from the root of the project, from a terminal:
|
||||
|
||||
Reference in New Issue
Block a user