Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 625 Bytes

LocalDeployGuide.md

File metadata and controls

27 lines (17 loc) · 625 Bytes

Local Deploy Guide

Environment

  • Deno >= v1.9.2
  • GitHub API v4

Prepare

  1. Generate a GitHub Token.
  2. Create new file .env to project root directory.
  3. Add an environmental variable GITHUB_TOKEN with the value of the GitHub Token you generated.
GITHUB_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  1. Run local server.
deno run --allow-net --allow-read --allow-env debug.ts
  1. Open localhost from your browser.

http://localhost:8080/?username=lucthienphong1120