A utility script to initialize a new Lamdera application with common utilities and configurations.
- Initializes a new Lamdera project
- Automatically installs common packages:
elm/httpelm/timeelm/json
- Creates utility files:
.cursorrules- Coding guidelines and best practiceslamdera-dev-watch.sh- Development server with auto-reloadopeneditor.sh- Cursor editor integrationtoggle_debugger.py- Backend debugger toggle utility
- Optional GitHub repository creation (public or private)
- Lamdera
- GitHub CLI (optional, for repository creation)
# Clone the repository
git clone https://github.com/CharlonTank/create-lamdera-app.git
# Copy the script to your PATH
sudo cp create-lamdera-app/create-lamdera-app.sh /usr/local/bin/create-lamdera-app
# Make it executable
sudo chmod +x /usr/local/bin/create-lamdera-app# Navigate to where you want to create your project
cd your/projects/directory
# Run the script
create-lamdera-app
# Follow the prompts:
# 1. Enter your project name
# 2. Choose whether to create a GitHub repository
# 3. If yes, choose public or private repositoryAfter creating your project:
cd your-project-name
./lamdera-dev-watch.shThis will start the Lamdera development server with auto-reload capability.
Feel free to open issues or submit pull requests!