Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1017 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 1017 Bytes

Story Lava

This project was bootstrapped with Create React App.

Setup

  1. Install Docker and docker-compose.
  2. Run docker-compose build app. This will build the environment.

OpenAI API Key

  1. Create an .env file in the root of the project:
└── public
└── src
.env
...
  1. Inside the .env file add REACT_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.

Dev

  1. Make sure to have set up you OpenAI API Key properly
  2. Spin the container, docker-compose start
  3. Dev server is then available at localhost:3001
  4. Happy Coding!
  5. To stop, docker-compose stop
  6. To restart, docker-compose start
  7. To remove the container, docker-compose down

Production

Production pipeline has not been implemented yet. Preview only in Development mode.