whoiskatrin / sql-translator

SQL Translator is a tool for converting natural language queries into SQL code using artificial intelligence. This project is 100% free and open source.
https://www.sqltranslate.app/
MIT License
4.19k stars 358 forks source link

feature: streamlined project startup with docker #46

Closed mirarifhasan closed 1 year ago

mirarifhasan commented 1 year ago

Description

This PR adds a Dockerfile and a docker-compose.yml file to the project, enabling developers to quickly set up and run the application in a Docker container.

To use the Docker containers, simply run docker-compose up in the project directory. The containers will be built and started, and the application will be available at http://localhost:3000

Detailed project startup process

  1. Clone the repository:

    git clone https://github.com/whoiskatrin/sql-translator.git
  2. Input your OPENAI API key in the .env.production file, you can get your API key here:

    OPENAI_API_KEY=$YOUR_API_KEY
  3. Start the development server:

    docker-compose up

Additional Information

Please review and let me know if there are any issues or suggestions for improvement.

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @whoiskatrin on Vercel.

@whoiskatrin first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
sql-translator ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 23, 2023 at 0:59AM (UTC)