https://github.com/vclemenzi/codeshare
Share your code, fast and easy
https://github.com/vclemenzi/codeshare
Last synced: 3 months ago
JSON representation
Share your code, fast and easy
- Host: GitHub
- URL: https://github.com/vclemenzi/codeshare
- Owner: vclemenzi
- Created: 2023-02-05T06:19:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T11:14:35.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T08:14:42.871Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 213 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codeshare
Share your code, fast and easy. The following project is not online because the creator doesn't have enough money to pay for a database and a domain
# selfhost
To self-host the project, you need to follow these steps.
First, clone the repo
```bash
git clone https://github.com/athebigbot/codeshare
cd codeshare
```Second, install the required modules with `yarn`
```bash
yarn
```Third, create a new Vercel KV Database, and copy the .env.local file content given by Vercel to a new .env.local file in the root of the project
```bash
KV_URL="redis://*********@premium-quagga-33772.kv.vercel-storage.com:33772"
KV_REST_API_URL="https://premium-quagga-33772.kv.vercel-storage.com"
KV_REST_API_TOKEN="*********"
KV_REST_API_READ_ONLY_TOKEN="*********"
```