Skip to content

Commit

Permalink
chore: update docs/scripts (abtnode rebranding) (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
donotlb authored Dec 28, 2021
1 parent c06417e commit 58e3cdb
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV ABT_NODE_TEST_DOCKER=1
ENV PATH=/home/linuxbrew/.linuxbrew/bin:$PATH
ENV ABT_NODE_HTTP_PORT=8080

RUN brew install nginx && npm install -g lerna @abtnode/cli
RUN brew install nginx && npm install -g lerna @blocklet/cli



Expand Down
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
image:
file: .gitpod.Dockerfile
tasks:
- init: yarn && abtnode init -f --mode debug --no-https
command: abtnode start && blocklet dev
- init: yarn && blocklet server init -f --mode debug --no-https
command: blocklet server start && blocklet dev
ports:
- port: 8080
onOpen: ignore
Expand Down
2 changes: 2 additions & 0 deletions .makefiles/bump_version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

NOW="$(date +'%B %d, %Y')"
# RED="\033[1;31m"
# GREEN="\033[0;32m"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.4 (十二月 28, 2021)

- chore: update docs/scripts (abtnode rebranding)

## 1.0.3 (十二月 08, 2021)

- chore: upgrade blocklet.yml
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,21 @@

This project is a demo blocklet bootstrapped with [Express Generator](https://expressjs.com/en/starter/generator.html)

## Install on my ABT Node

[![Install on my ABT Node](https://raw.githubusercontent.com/blocklet/development-guide/main/assets/install_on_abtnode.svg)](https://install.arcblock.io/?action=blocklet-install&meta_url=https%3A%2F%2Fgithub.com%2Fblocklet%2Fexpress-demo%2Freleases%2Fdownload%2Fv1.0.3%2Fblocklet.json)

## Run and debug in the cloud with Gitpod

Click the "Open in Gitpod" button, Gitpod will start ABT Node and the blocklet.
Click the "Open in Gitpod" button, Gitpod will start Blocklet Server and the blocklet.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/blocklet/express-demo)

## Run and debug locally

```shell
yarn global add @abtnode/cli
yarn global add @blocklet/cli
git clone [email protected]:blocklet/express-demo.git
cd express-demo
npm install
abtnode init --mode debug
abtnode start
blocklet server init --mode debug
blocklet server start
blocklet dev
```

Expand Down
2 changes: 1 addition & 1 deletion blocklet.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: express-demo
version: 1.0.3
version: 1.0.4
main: ./bin/www.js
files:
- blocklet.md
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-demo",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"main": "./bin/www.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.4

0 comments on commit 58e3cdb

Please sign in to comment.