Skip to content

Commit

Permalink
Update README with git lfs instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed May 27, 2020
1 parent 9672f81 commit 8808ee5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
<p align="center">
<h2 align="center">Headless Chrome on SCF</h2>
<h2 align="center">Headless Chrome on SCF&nbsp;&nbsp;</h2>
</p>

<p align="center">Headless chrome running on tencent serverless cloud function, with <a href="http://serverless.com/">Serverless</a>, <a href="https://cloud.tencent.com/product/scf">Tencent serverless cloud function</a>, <a href="https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md">Headless Chrome</a> and <a href="https://selenium-python.readthedocs.io/">Selenium</a>!</p>

<p align="center">
<b><a href="https://github.com/LeiShi1313/scf-headless-chrome/blob/master/README_CN.md">中文文档</a></b>
<a href="https://github.com/LeiShi1313/scf-headless-chrome/blob/master/README_CN.md">中文文档</a>
</p>

<p align="center">Headless chrome running on tencent serverless cloud function</p>
<p align="center">with <a href="http://serverless.com/">Serverless</a>, <a href="https://cloud.tencent.com/product/scf">Tencent SCF</a>, <a href="https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md">Headless Chrome</a> and <a href="https://selenium-python.readthedocs.io/">Selenium</a>!</p>

## How to run this project

First, clone this project and enter the folder, then
First, make sure you have [Git LFS](https://git-lfs.github.com/) installed.
```
git clone https://github.com/LeiShi1313/scf-headless-chrome.git
cd scf-headless-chrome
npm install
pip install -r requirements.txt -t .
sls deploy
Expand Down
8 changes: 5 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
<h2 align="center">腾讯云函数无头浏览器</h2>
</p>

<p align="center"><a href="http://serverless.com/">Serverless</a>+<a href="https://cloud.tencent.com/product/scf">腾讯云函数</a>+ <a href="https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md">无头Chrome</a>+<a href="https://selenium-python.readthedocs.io/">Selenium</a>=运行在腾讯云函数上的无头浏览器</p>
<p align="center"><a href="http://serverless.com/">Serverless</a>+<a href="https://cloud.tencent.com/product/scf">云函数</a>+ <a href="https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md">无头Chrome</a>+<a href="https://selenium-python.readthedocs.io/">Selenium</a>=运行在腾讯云函数上的无头浏览器</p>


## 如何运行

首先,clone这个项目
首先,安装好[Git LFS](https://git-lfs.github.com/)
```
git clone https://github.com/LeiShi1313/scf-headless-chrome.git
cd scf-headless-chrome
npm install
pip install -r requirements.txt -t .
sls deploy
```
就可以了, :tada::tada::tada:
按照命令行提示登录然后就可以了, :tada::tada::tada:
Binary file removed chromedriver/.DS_Store
Binary file not shown.

0 comments on commit 8808ee5

Please sign in to comment.