Workflow to Create New Project

 

Workflow A — Local only (no GitLab)
  1. Terminal/PowerShell: mkdir flashcard && cd flashcard, then run claude to start Claude Code and prompt it to build the app in that folder.
  2. 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.
  3. Load the page in the browser to see it rendered live
Workflow B — With GitLab
  • Terminal/PowerShell: Same as above — create the folder, cd into it, run claude and 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 push to sync the update to GitLab.