mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +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
|
## 👨🏻💻 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user