Workflow to Create New Project
Workflow A — Local only (no GitLab)
- Terminal/PowerShell:
mkdir flashcard && cd flashcard, then runclaudeto start Claude Code and prompt it to build the app in that folder. - Phoenix Editor: Open the project folder to view/edit files and preview the running app. Go back to the terminal to keep prompting Claude Code for changes; nothing needs to be pushed anywhere — the folder itself is the saved project.
- Load the page in the browser to see it rendered live
Workflow B — With GitLab
- Terminal/PowerShell: Same as above — create the folder,
cdinto it, runclaudeand build the app. Then:git init- Create a blank new project on gitlab.com (no README/license, so it’s truly empty)
- Copy the project’s remote URL from GitLab, then
git remote add origin <url> git add .→git commit -m "initial flashcard app"→git push -u origin main
- Phoenix Editor: Edit files as normal. After each meaningful change, go back to the terminal and repeat
git add .→git commit -m "..."→git pushto sync the update to GitLab.
