mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 17:06:15 +00:00
New structure
This commit is contained in:
22
scripts/README.md
Normal file
22
scripts/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Scripts Directory
|
||||
|
||||
This directory contains utility scripts for development and deployment.
|
||||
|
||||
## Available Scripts
|
||||
|
||||
### `run.sh`
|
||||
**Purpose:** Nix development environment launcher
|
||||
**Usage:** `./run.sh`
|
||||
**Description:** Launches the bot using Nix develop environment with xvfb-run for headless browser support.
|
||||
|
||||
**Requirements:**
|
||||
- Nix package manager
|
||||
- xvfb (X Virtual Framebuffer)
|
||||
|
||||
**Environment:**
|
||||
This script is designed for NixOS or systems with Nix installed. It provides a reproducible development environment as defined in `setup/nix/flake.nix`.
|
||||
|
||||
---
|
||||
|
||||
For Docker deployment, see the `docker/` directory.
|
||||
For setup scripts, see the `setup/` directory.
|
||||
3
scripts/run.sh
Normal file
3
scripts/run.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
nix develop --command bash -c "xvfb-run npm run start"
|
||||
Reference in New Issue
Block a user