5. Today's Practice β Step by Step
Today's goal: We use Codex and Antigravity to create a pre-creator introduction webpage from start to finish.
π§ Before You Begin
1
Creating a project folder
It's on the desktop. my-project It creates a folder.
Example path: C:\Users\name\Desktop\my-project
2
Open the Codex.
Run the Codex app and set the my-project folder above to a project.
Codex β Upper folder icon β Select the folder
3
Open the Antigravity.
You run Antigravity, Antigravity, and you set the same my-project folder as the work path.
π Practice 1 β Create an Environment Setup Document with Codex
First, use Codex to create README.md, the project's basic description file.
In Codex, type the following prompt:
Please define the basic roles of this project folder.
The goal of the project is to "practice basic web services using AI development tools".
Create the default README.md file and write it down as follows:
- Project name.
- Purpose.
- Use tools (Codex, Antigravity)
- The folder structure description.
- How to use it.
This is what success looks like:
In the my-project folder, README.md the file is created.
On the Codex screen, you can see that it's written in the same structure as above.
π Practice 2 β Write a Requirements Specification with Codex
Next, create the key document PAGE_REQUIREMENTS.md. Antigravity will use this document as the basis for building the web page.
In Codex, type the following prompt:
I need you to create an PAGE_REQUIREMENTS.md file.
Content: "Profile of entrepreneurs and service introduction page"
## Page configuration
Title: My Startup Pitch
2. Upper section: Founder name, one-line introduction, two to three key field tags
Section 3: Breakdown: Explanation of the problem I'm trying to solve, two solution cards
Subsection 4: Contact button (click and indicate email address)
## Design conditions
- It's in the dark mode.
- Use the Pretendard font.
- A responsive layout that looks good on both mobile and PC.
## acceptance criteria
- When you open the browser, all sections will be displayed correctly.
- When you click the contact button, the email address will appear.
The key to this step is: Codex is going to write this document. Save it as a file..
On the Codex screen, press the "Save files" or "Create files" button to save.
Save it and see if there's an PAGE_REQUIREMENTS.md file in the my-project folder.