Reopen
Reopen
These are the steps for starting the practice web app again on your own at home after class. You are not installing anything new. You only find the folder you already have and open it.
1. Find the folder
You do not need to remember where you put your forked repository. Cursor remembers.
- Open Cursor.
- Click File → Open Recent.
- The list contains a folder with
opencircuitin its name. Choose it.
If it is not in the list, search your computer for the folder name.
- Windows: in File Explorer, select
This PCand typeopencircuitin the search box at the top right. - Mac: in Finder, press ⌘+F and type
opencircuit. Change the search scope to This Mac.
It helps to put a shortcut to the folder on your desktop so you do not have to search again next time.
2. Start the practice web app
With that folder open in Cursor, open the terminal with Ctrl/⌘+`.
Mac
./start.sh
Windows: choose PowerShell at the top right of the terminal, then run
.\start.ps1
The first time takes a few minutes because it downloads components. After that it is quick.
It has worked when the terminal prints 실습 웹: http://127.0.0.1:1234 ("practice web") and a browser opens by itself. If no browser opens, type that address into your browser.
3. When you are done
Press Ctrl+C in the terminal. You can also just close the window.
To start again, repeat step 2 only. You do not need to find the folder again.
If it does not work
| If this happens | Do this |
|---|---|
command not found, or The term '.\start.ps1' is not recognized | You opened the wrong folder. Check that you can see start.sh inside it |
On Windows: cannot be loaded because running scripts is disabled on this system | Type Set-ExecutionPolicy -Scope Process Bypass -Force in PowerShell first. This only applies to the current window |
| The black window fills with red text | Do not clear it. Copy it as it is, paste it into the Cursor chat and write "Fix this error". See When you get stuck |
| The browser opens but the page is blank | Check that the address is 127.0.0.1:1234, then refresh |
It is fine if you cannot solve it alone. Take a screenshot and send it to the group chat or to Joonhyung Bae.
Once it is running
What to do first is in One full round.