Skip to content

Commit a16d544

Browse files
committed
deploy scripts
1 parent ab2088b commit a16d544

File tree

3 files changed

+1765
-2
lines changed

3 files changed

+1765
-2
lines changed

README.md

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,63 @@
1-
# browserstack-now
2-
Onboarding utility for automated tests
1+
# BrowserStack NOW
2+
3+
`browserstack-now` is an onboarding utility designed for BrowserStack customers to get started with automated tests on the BrowserStack platform.
4+
5+
This utility automates the entire first-mile experience — from credential input to running a verified test on BrowserStack infrastructure — all within approximately 2 minutes.
6+
7+
## 🔧 Key Features
8+
9+
| Feature | Description |
10+
| ------------------------ | ------------------------------------------------------------------------------------------------------- |
11+
| 🔐 UI-based Credential Input | Uses native dialogs for username and access key capture. |
12+
| 🧪 Sample Test Execution | Runs a real sample repo from the customer’s account to validate the setup. |
13+
| 🔍 Pre-requisite Check | Validates if Java, Node, and Python are installed. Provides installation guidance if they are missing. |
14+
| 📊 Plan Variant Detection | Calls the `/plan` API to tailor the sample repo based on the customer’s subscription tier (e.g., Live, Pro). |
15+
| ✅ Console UX with Checkmarks | Mimics the BrowserStack Network Assessment Tool for a familiar experience. |
16+
| 🪵 Logging for Debugging | Saves all raw logs under `~/.browserstack/bstack_onboarding.log` for support and debugging purposes. |
17+
| 🖥️ (Planned) UI Framework Picker | Allows customers to select their preferred test framework via an interactive UI. |
18+
19+
## How to Use
20+
21+
You can either run the script directly from the web or clone the repository and run it locally.
22+
23+
### Clone and Run Locally
24+
25+
1. Clone the repository:
26+
```bash
27+
git clone https://github.com/http-heading/browserstack-now.git
28+
```
29+
2. Navigate to the directory:
30+
```bash
31+
cd browserstack-now
32+
```
33+
3. Execute the script for your operating system:
34+
35+
**macOS / Linux**
36+
```bash
37+
bash mac_os.sh
38+
```
39+
40+
**Windows**
41+
```powershell
42+
./windows.ps1
43+
```
44+
45+
### Remote Execution
46+
47+
#### macOS / Linux
48+
49+
To run the onboarding utility on macOS or Linux without cloning, execute the following command in your terminal:
50+
51+
```bash
52+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/http-heading/browserstack-now/main/mac_os.sh)"
53+
```
54+
55+
#### Windows
56+
57+
To run the onboarding utility on Windows without cloning, execute the following command in PowerShell:
58+
**Note:** You may need to set the execution policy to `RemoteSigned` or `Bypass` to run the script.
59+
60+
```powershell
61+
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/http-heading/browserstack-now/main/windows.ps1'))
62+
```
63+
```

0 commit comments

Comments
 (0)