# Clone the application
$ git clone https://github.com/SolChall2024/SolChall2024_BE.git
# Install dependencies
$ python -m venv venv
# mac
source ./venv/Scripts/activate
# windows
.\venv\Scripts\activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- Create a
secrets.jsonfile in the root directory of the project. - Store the project's secret key in this file.
- Add
secrets.jsonto.gitignoreto maintain security.
- To use the Google STT API, you need to create a new project in the Google Cloud Console.
- Enable the Google STT API in the created project.
- Create a new service account and grant it permissions.
- Download the JSON-formatted authentication information.
- The authentication information contains permissions to call the Google STT API.
- Set the
GOOGLE_APPLICATION_CREDENTIALSenvironment variable to the path of the downloaded JSON file for the Google STT API authentication.