This commit is contained in:
@@ -28,10 +28,10 @@ git clone https://github.com/mik-tf/minting_plan.git
|
|||||||
cd minting_plan
|
cd minting_plan
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
npm install
|
pnpm install
|
||||||
|
|
||||||
# Start development server
|
# Start development server
|
||||||
npm start
|
pnpm start
|
||||||
```
|
```
|
||||||
|
|
||||||
The site will open at `http://localhost:3000`.
|
The site will open at `http://localhost:3000`.
|
||||||
@@ -40,10 +40,10 @@ The site will open at `http://localhost:3000`.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create production build
|
# Create production build
|
||||||
npm run build
|
pnpm run build
|
||||||
|
|
||||||
# Serve production build locally
|
# Serve production build locally
|
||||||
npm run serve
|
pnpm run serve
|
||||||
```
|
```
|
||||||
|
|
||||||
## Project Structure
|
## Project Structure
|
||||||
|
14
build.sh
Executable file
14
build.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
cd "$(script_dir)"
|
||||||
|
|
||||||
|
echo "Docs directory: $script_dir"
|
||||||
|
|
||||||
|
|
||||||
|
# pnpm install .
|
||||||
|
pnpm run build .
|
||||||
|
|
||||||
|
rsync -rv --delete ${script_dir}/build/ root@threefold.info:/root/hero/www/info/economics/
|
12
develop.sh
Executable file
12
develop.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
cd "${script_dir}"
|
||||||
|
|
||||||
|
echo "Docs directory: $script_dir"
|
||||||
|
|
||||||
|
pnpm install .
|
||||||
|
pnpm start .
|
||||||
|
|
@@ -22,7 +22,8 @@
|
|||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
"prism-react-renderer": "^2.3.0",
|
"prism-react-renderer": "^2.3.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0",
|
||||||
|
"tfgrid-economics": "link:"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^3.5.2",
|
"@docusaurus/module-type-aliases": "^3.5.2",
|
||||||
|
12331
pnpm-lock.yaml
generated
Normal file
12331
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user