Skip to content

Commit 29674c8

Browse files
committed
feat: add README to dev/setup script
1 parent a789a0f commit 29674c8

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

dev/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### <tt>jargons.dev</tt> Dev Setup Script
2+
3+
This script streamlines the process of creating a GitHub App required to run jargons.dev locally and sets up the environment file (.env) for you. Here's how to use it:
4+
5+
1. **Run the Setup Script:**
6+
- Run `npm run setup` in your terminal to start the setup process.
7+
8+
2. **Enter App Name:**
9+
- You will be prompted to enter an app name. The default app name is `jargons.dev-app-for-`, which you should append with your GitHub username to make it unique, example: `jargons.dev-app-for-babblebey`.
10+
11+
3. **Create a New GitHub Repository:**
12+
- Manually create a new GitHub repository with the name "jargons.dev-test" at [https://github.com/new](https://github.com/new).
13+
14+
4. **Update the Environment Variables:**
15+
- Once the app is created, the script will create a `.env` file with the necessary variables.
16+
- Open the `.env` file and replace the value of `PUBLIC_PROJECT_REPO` with your newly created repository's name. Example: `PUBLIC_PROJECT_REPO="your-username/jargons.dev-test"`
17+
18+
5. **Install the GitHub App:**
19+
- Follow the link provided in the script output to install the GitHub App on your repository.
20+
21+
This script simplifies the setup process for running <tt>jargons.dev</tt> locally and ensures that your GitHub App is configured correctly. If you encounter any issues during setup, please reach out or craeting an issue.

0 commit comments

Comments
 (0)