Skip to content

Commit

Permalink
🔥 remove useless files and clean ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Burg committed Sep 4, 2023
1 parent 3f461fd commit 3b469de
Show file tree
Hide file tree
Showing 29 changed files with 4,906 additions and 10,214 deletions.
8 changes: 0 additions & 8 deletions batcher-ui/.env.dev.sample

This file was deleted.

4 changes: 0 additions & 4 deletions batcher-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ pnpm-lock.yaml
functions/*
.temp/**

# umi
.umi
.umi-production

# screenshot
screenshot
.firebase
Expand Down
2 changes: 0 additions & 2 deletions batcher-ui/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
**/*.svg
package.json
.umi
.umi-production
/dist
.dockerignore
.DS_Store
Expand Down
3 changes: 0 additions & 3 deletions batcher-ui/.stylelintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions batcher-ui/Dockerfile.ghostnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ COPY ./next.config.js ./next.config.js
COPY ./tailwind.config.js ./tailwind.config.js


RUN npm run build:next:ghostnet
RUN npm run build:ghostnet

EXPOSE 80

CMD ["npm", "run", "start:next:ghostnet"]
CMD ["npm", "run", "start:ghostnet"]

44 changes: 18 additions & 26 deletions batcher-ui/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Ant Design Pro
# Batcher User Interface


This project is built with React ecosystem. Follow is the quick guide for how to use.

This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use.

## Environment Prepare

Expand All @@ -10,48 +12,38 @@ Install `node_modules`:
npm install
```

or
### Run project in development mode

```bash
yarn
```

## Provided Scripts
:warning: For now, Batcher in development runs onto Ghostnet Smart Contract.

Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in `package.json`. It's safe to modify or add additional script:

### Start project

```bash
npm start
```

### Build project

```bash
npm run build
```

### Check code style

```bash
npm run lint
npm run dev

```

You can also use script to auto fix some lint error:
### Start project on GHOSTNET


```bash
npm run lint:fix
npm run build:ghostnet && npm run start:ghostnet

```

### Test code
### Build project on MAINNET




```bash
npm test
```
npm run build && npm start

## More
```

You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro).
124 changes: 0 additions & 124 deletions batcher-ui/config/config.ghostnet.ts

This file was deleted.

124 changes: 0 additions & 124 deletions batcher-ui/config/config.mainnet.ts

This file was deleted.

23 changes: 0 additions & 23 deletions batcher-ui/config/defaultSettings.ts

This file was deleted.

Loading

0 comments on commit 3b469de

Please sign in to comment.