Skip to content

Commit

Permalink
Merge pull request #1 from ismdeep/develop/doc-readme
Browse files Browse the repository at this point in the history
doc: README and LICENSE
  • Loading branch information
realwujing authored Oct 26, 2022
2 parents 0371af7 + 50edff0 commit c8eb801
Show file tree
Hide file tree
Showing 12 changed files with 379 additions and 36,326 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ pnpm-debug.log*
*.sw?
# cache file
*/src/scripts/cache/*

/yarn.lock
/package-lock.json
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
#
# SPDX-License-Identifier: LGPL-3.0-or-later

FROM hub.deepin.com/library/node:16 AS builder
WORKDIR /linglong-web-store
COPY . .
Expand Down
304 changes: 304 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

47 changes: 17 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,31 @@
# store-webui
# Linglong Web Store

## Project setup
```
yarn install
```
## Dependencies

### Compiles and hot-reloads for development
```
yarn serve
```
### Build dependencies

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```
- Node.JS >= 16

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
## Quick Start

## Dockfile
### Install

```bash
docker build -t hub.deepin.com/wuhan_v23_linglong/linglong-web-store:develop-snipe .
yarn install
```

```bash
docker run --rm -it -p 80:80/tcp hub.deepin.com/wuhan_v23_linglong/linglong-web-store:develop-snipe
```
### Start

```bash
kubectl create deployment linglong-web-store --image=hub.deepin.com/wuhan_v23_linglong/linglong-web-store:develop-snipe
yarn dev
```

- 使用 18081 端口提供服务,连接到容器的 80 端口
## Getting involved

```bash
kubectl expose deployment linglong-web-store --type=NodePort --port=18081 --target-port=80
```
We encourage you to report issues and contribute changes

* [Contribution guide for developers](https://github.com/linuxdeepin/developer-center/wiki/Contribution-Guidelines-for-Developers-en). (English)

## License

linglong-web-store is licensed under [LGPL-3.0-or-later](LICENSE).
31 changes: 31 additions & 0 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Linglong Web Store

## 依赖

### 编译依赖

- Node.JS >= 16

## 快速开始

### 安装

```bash
yarn install
```

### 开始

```bash
yarn dev
```

## 参与贡献

我们鼓励您报告问题并作出更改

* [开发者代码贡献指南](https://github.com/linuxdeepin/developer-center/wiki/Contribution-Guidelines-for-Developers)

## License

linglong-web-store 遵循协议 [LGPL-3.0-or-later](LICENSE).
Loading

0 comments on commit c8eb801

Please sign in to comment.