Skip to content

Commit 96a9772

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents e115436 + 23467d3 commit 96a9772

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

README.md

+23-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# LazyDev: Automated Coding Project
1+
# LazyDev: Automating Coding Projects
22

3-
`Lazyness is the mother of invention`
3+
```
4+
Lazyness is the mother of invention 😉
5+
```
46

57
LazyDev is a Python module that utilizes GPT models to create entire coding projects for you. With just a few simple commands, LazyDev can generate a project file tree, write the necessary code, and even test the project for you. Say goodbye to the hassle of setting up projects from scratch and let LazyDev do the heavy lifting for you.
68

@@ -14,29 +16,42 @@ LazyDev is a Python module that utilizes GPT models to create entire coding proj
1416

1517
## Installation
1618

17-
```
19+
LazyDev requires Python 3.6 or above.
20+
```shell
1821
pip install lazydev
1922
```
23+
### setup environment
2024

21-
LazyDev requires Python 3.6 or above.
25+
first setup your shell with openai api key in the environment. I would recommend adding it to your ~/.bashrc
26+
```bash
27+
echo 'export OPENAI_API_KEY="your_openai_key"' >> ~/.bashrc && source ~/.bashrc
28+
```
29+
30+
### for zsh users:
31+
```zsh
32+
echo 'export OPENAI_API_KEY="your_openai_key"' >> ~/.zshrc && source ~/.zshrc
33+
```
34+
35+
Replace `your_openai_key` with your openai api key
36+
2237

2338
## Usage
2439

2540
Using LazyDev is as simple as running a single command. Once installed, you can initiate the project generation process by executing the following command:
2641

27-
```
28-
lazydev develop -r <what you want to do>
42+
```shell
43+
lazydev develop -r "what ever you want to do"
2944
```
3045

31-
Replace `<what you want to do>` with a brief description of your project's purpose or objective. LazyDev will then prompt you with a series of questions to gather the necessary information for project generation.
46+
Replace `what ever you want to do` with a brief description of your project's purpose or objective. LazyDev will then prompt you with a series of questions to gather the necessary information for project generation.
3247

3348
After answering the questions, LazyDev will proceed to plan the project structure, create the appropriate file tree, generate the required code files, and even run tests to verify the functionality.
3449

3550
## Example
3651

3752
Let's say you want to create a Python web application for managing a book library. You can use LazyDev to automate the project setup. Here's an example command:
3853

39-
```
54+
```shell
4055
lazydev develop -r "Book Library Web App"
4156
```
4257

0 commit comments

Comments
 (0)