This project was bootstrapped with Create React App.
- Install Docker and docker-compose.
- Run
docker-compose build app
. This will build the environment.
- Create an
.env
file in the root of the project:
└── public
└── src
.env
...
- Inside the
.env
file addREACT_APP_OPENAI_SECRET_KEY
.env
:
REACT_APP_OPENAI_SECREY_KEY=your_api_key
⚠️ DON'T post your GPT-3 API key anywhere in internet, especially in your code, when you push it to GitHub.
- Make sure to have set up you OpenAI API Key properly
- Spin the container,
docker-compose start
- Dev server is then available at
localhost:3001
- Happy Coding!
- To stop,
docker-compose stop
- To restart,
docker-compose start
- To remove the container,
docker-compose down
Production pipeline has not been implemented yet. Preview only in Development mode.