Blockchain GPT Terminal
To run the project please follow those steps:
- Install docker in your computer
- Clone the project by runing in your terminal :
- Check the Super Token dashbord thought this link https://supertokens.com/dashboard-saas
- Save the Core connectionURI and Core API key
In our project we are using Google and Github , you can read Super Token documentation for other options. Those links contain the process step-by-step * Google : https://support.google.com/workspacemigrate/answer/9222992?hl=en
* Github : https://docs.github.com/en/apps/creating-github-apps/creating-github-apps/creating-a-github-app
-
Go backend/auth and create .env file and set values
-
URI= /* Core connectionURI that you saved */
-
KEY= /* Core API key */
-
CLIENT_ID= /* Google Client ID */
-
CLIENT_SECRET=/* Google Client Secret*/
-
GITHUB_CLIENT= /* Github Client */
-
GITHUB_SECRET= /* Github Secret */
-
-
Go backend/blockchain_gpt , create .env file and set value
- API_KEY= /* Chat GPT API Key*/
-
Go frontend , create .env file and set value
- SKIP_PREFLIGHT_CHECK=true
- it takes true or false:
- true : ignore eslint check
- false : dont ignore eslint check
- REACT_APP_INFURA= /* your infura key */
- REACT_APP_WALLET=/* your wallet address */
- REACT_APP_PRIVATE_KEY=/* your private key*/
-
Run in your terminal inside the project folder :
- docker compose build
-
After the build run :
- docker compose up
- Open the browser :
-
frontend: http://localhost:3000
-
User Managment Dashboard: http://localhost:3001/auth/dashboard
-
- Run in your terminal :
- docker compose down