f"Warning: GPT Pilot doesn't officially support {', '.join(warn_system_deps)}. "
f"You can try to use {'it'iflen(warn_system_deps)==1else'them'}, but you may run into problems."
))
print('continue',type='buttons-only')
ask_user(self.project,"Press ENTER if you still want to proceed. If you'd like to modify the project description, close the app and start a new one.",require_some_input=False)
ifwarn_package_deps:
print(color_yellow_bold(
f"Warning: GPT Pilot works best with vanilla JavaScript. "
f"You can try try to use {', '.join(warn_package_deps)}, but you may run into problems. "
f"Visit {WARN_FRAMEWORKS_URL} for more information."
))
print('continue',type='buttons-only')
ask_user(self.project,"Press ENTER if you still want to proceed. If you'd like to modify the project description, close the app and start a new one.",require_some_input=False)
# TODO: Project.args should be a defined class so that all of the possible args are more obvious
@ -17,14 +17,13 @@ Based on these details, think step by step to design the architecture for the pr
* You must only list *system* dependencies, ie. the ones that need to be installed (typically as admin) to set up the programming language, database, etc. Any packages that will need to be installed via language/platform-specific package managers are *not* system dependencies.
* If there are several popular options (such as Nginx or Apache for web server), pick one that would be more suitable for the app in question.
* DO NOT include text editors, IDEs, shells, OpenSSL, CLI tools such as AWS, or Stripe clients, or other utilities in your list. only direct dependencies required to build and run the project.
* DO NOT include text editors, IDEs, shells, OpenSSL, CLI tools such as git, AWS, or Stripe clients, or other utilities in your list. only direct dependencies required to build and run the project.
* If a dependency (such as database) has a cloud alternative or can be installed on another computer (ie. isn't required on this computer), you must mark it as `required_locally: false`
Output only your response in JSON format like in this example, without other commentary:
```
{
"architecture": "Detailed description of the arch
itecture of the application",
"architecture": "Detailed description of the architecture of the application",
"system_dependencies": [
{
"name": "Node.js",
@ -32,12 +31,6 @@ itecture of the application",
"test": "node --version",
"required_locally": true
},
{
"name": "git",
"description": "A popular version control system. Required to be able to store your code in version control.",
"test": "git --version",
"required_locally": true
},
{
"name": "MongoDB",
"description": "NoSQL database. If you don't want to install MongoDB locally, you can use a cloud version such as MongoDB Atlas.",
@ -3,8 +3,7 @@ Here is a high level description of "{{ name }}":
{{ app_summary }}
```
{% if clarifications %}
Here are some additional questions and answers to clarify the apps description:
{% if clarifications %}Here are some additional questions and answers to clarify the apps description:
```
{% for clarification in clarifications %}
Q: {{ clarification.question }}
@ -12,28 +11,25 @@ A: {{ clarification.answer }}
{% endfor %}
```
{% endif %}{% if user_stories %}
Here are user stories that specify how users use "{{ name }}":
{% endif %}{% if architecture %}Here is a short description of the project architecture:
{{ architecture }}
{% endif %}{% if user_stories %}Here are user stories that specify how users use "{{ name }}":
```
{% for story in user_stories %}
- {{ story }}
{% endfor %}
```
{% endif %}{% if user_tasks %}
Here are user tasks that specify what users need to do to interact with "{{ name }}":
{% endif %}{% if user_tasks %}Here are user tasks that specify what users need to do to interact with "{{ name }}":
```
{% for task in user_tasks %}
- {{ task }}
{% endfor %}
```
{% endif %}{% if technologies %}
Here are the technologies that {% if task_type == 'feature' %}that were used{% else %}you need to use{% endif %} for this project:
```
{% endif %}{% if technologies %}Here are the technologies that {% if task_type == 'feature' %}that were used{% else %}you need to use{% endif %} for this project:
You are working in a software development agency and a project manager and software architect approach you telling you that you're assigned to work on a new project. You are working on a {{ app_type }} called "{{ name }}" and your first job is to set up the environment on a computer.
Here are the technologies that you need to use for this project:
First, you need to break down these instructions into actionable steps that can be made. There are 2 types of steps. If a step requires a change in a file content, that step is of a type `code_change` and if a change requires a command to be run (eg. to create a file or a folder), that step is of a type `run_command`.
For a step to be actionable, it cannot have a vague description but a clear explanation of what needs to be done to finish that step. Here are a couple of examples of good and bad steps: