mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
Improve the sandbox development environment to support "new user" simulation
while maintaining a high-quality developer experience.
Changes:
- Persistence: Redirect HOME to /home/developer and add a persistent volume
to preserve shell history, gh auth state, and isolated environments.
- Tooling: Pre-install GitHub CLI (gh), air (hot-reload), and delve (dlv)
in the sandbox Dockerfile.
- Isolated Envs:
- Update ssenv to store environments in persistent $HOME/.ss-envs.
- Add --init flag to ssnew/ssenv to auto-run 'ss init -g' in new envs.
- Add visual PS1 indicator when an isolated environment is active.
- DX Refinements:
- Add a centralized 'help' command (aliased to override bash built-in).
- Fix ANSI color rendering in help script.
- Robust PROJECT_ROOT redirection in skillshare wrapper script.
- Support /home/developer in setup.sh environment checks.
9 lines
225 B
Bash
9 lines
225 B
Bash
# Copy to .env and fill in your tokens.
|
|
# .env is gitignored — secrets stay local.
|
|
#
|
|
# GITHUB_TOKEN=ghp_... # gh auth token
|
|
# GITLAB_TOKEN=glpat-...
|
|
# BITBUCKET_TOKEN=...
|
|
# BITBUCKET_USERNAME=...
|
|
# SKILLSHARE_GIT_TOKEN=...
|