Skip to content

Commit

Permalink
feat:docs
Browse files Browse the repository at this point in the history
  • Loading branch information
motebaya committed Jan 1, 2024
1 parent 2bd93c0 commit c6db709
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,41 @@ additional:
### Setup Web Server:

- run server on local:
- Run on local server:

```bash
❯ npm run start/dev
❯ npm run dev
> [email protected] dev
> nodemon src/index.js
[nodemon] 3.0.1
[nodemon] reading config ./package.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 1755830 to restart
[nodemon] ignoring: **/test/** **/trash/**
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js
[nodemon] starting `node src/index.js`
[nodemon] forking
[nodemon] child pid: 1755843
[nodemon] watching 60 files
app listening on port 3000
```

then open url http://localhost:3000 in your browser.

> [email protected] start
> node ./index.js
- Deploying to vercel with [Vercel CLI](https://vercel.com/docs/cli), for the first time you need to login first with your vercel account.

App listening on port 3000
```bash
❯ vercel --prod
Vercel CLI 33.0.1
? Set up and deploy “./tiktok-js”? [Y/n] y
? Which scope do you want to deploy to? username
? Link to existing project? [y/N] n
? What’s your project’s name? tiktokjs-downloader
? In which directory is your code located? ./
🔗 Linked to username/tiktokjs-downloader (created .vercel and added it to .gitignore)
🔍 Inspect: https://vercel.com/username/tiktokjs-downloader/<unique> [7s]
✅ Production: https://tiktokjs-downloader-<unique>-username.vercel.app [7s]
```

### Demo:
Expand All @@ -123,7 +149,7 @@ App listening on port 3000
</details>

- Web:
https://vecel.com
https://tiktokjs-downloader.vercel.app/

## License

Expand Down

0 comments on commit c6db709

Please sign in to comment.