Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
sim/.devcontainer/.bashrc at main · AmethystLiang/sim · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AmethystLiang
sim
Repository navigation
Code
Pull requests
Actions
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
sim
/
.devcontainer
/
.bashrc
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
69 lines (59 loc) · 2.81 KB
main
Breadcrumbs
sim
/
.devcontainer
/
.bashrc
Copy path
Top
File metadata and controls
Code
Blame
69 lines (59 loc) · 2.81 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
Sim Development Environment Bashrc
#
This gets sourced by post-create.sh
#
Enhanced prompt with git branch info
parse_git_branch
() {
git branch
2>
/dev/null
|
sed -e
'
/^[^*]/d
'
-e
'
s/* \(.*\)/ (\1)/
'
}
export
PS1=
"
\[\033[01;32m\]\u@simstudio\[\033[00m\]:\[\033[01;34m\]\w\[\033[33m\]
\$
(parse_git_branch)\[\033[00m\]
\$
"
#
Helpful aliases
alias
ll=
"
ls -la
"
alias
..=
"
cd ..
"
alias
...=
"
cd ../..
"
#
Database aliases
alias
pgc=
"
PGPASSWORD=postgres psql -h db -U postgres -d simstudio
"
alias
check-db=
"
PGPASSWORD=postgres psql -h db -U postgres -c '\l'
"
#
Sim specific aliases
alias
logs=
"
cd /workspace/apps/sim && tail -f logs/*.log 2>/dev/null || echo 'No log files found'
"
alias
sim-start=
"
cd /workspace && bun run dev
"
alias
sim-migrate=
"
cd /workspace/apps/sim && bunx drizzle-kit push
"
alias
sim-generate=
"
cd /workspace/apps/sim && bunx drizzle-kit generate
"
alias
sim-rebuild=
"
cd /workspace && bun run build && bun run start
"
alias
docs-dev=
"
cd /workspace/apps/docs && bun run dev
"
#
Turbo related commands
alias
turbo-build=
"
cd /workspace && bunx turbo run build
"
alias
turbo-dev=
"
cd /workspace && bunx turbo run dev
"
alias
turbo-test=
"
cd /workspace && bunx turbo run test
"
#
Bun specific commands
alias
bun-update=
"
cd /workspace && bun update
"
alias
bun-add=
"
cd /workspace && bun add
"
alias
bun-pm=
"
cd /workspace && bun pm
"
alias
bun-canary=
"
bun upgrade --canary
"
#
Default to workspace directory
cd
/workspace
2>
/dev/null
||
true
#
Welcome message - only show once per session
if
[
-z
"
$SIM_WELCOME_SHOWN
"
]
;
then
export
SIM_WELCOME_SHOWN=1
echo
"
"
echo
"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
echo
"
🚀 Welcome to Sim development environment!
"
echo
"
"
echo
"
Available commands:
"
echo
"
sim-start - Start all apps in development mode
"
echo
"
sim-migrate - Push schema changes to the database for sim app
"
echo
"
sim-generate - Generate new migrations for sim app
"
echo
"
sim-rebuild - Build and start all apps
"
echo
"
docs-dev - Start only the docs app in development mode
"
echo
"
"
echo
"
Turbo commands:
"
echo
"
turbo-build - Build all apps using Turborepo
"
echo
"
turbo-dev - Start development mode for all apps
"
echo
"
turbo-test - Run tests for all packages
"
echo
"
"
echo
"
Bun commands:
"
echo
"
bun-update - Update dependencies
"
echo
"
bun-add - Add a new dependency
"
echo
"
bun-pm - Manage dependencies
"
echo
"
bun-canary - Upgrade to the latest canary version of Bun
"
echo
"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
echo
"
"
fi
You can’t perform that action at this time.