Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
chatgpt.ai-pro.org
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8edd7bfb
authored
2023-02-03 09:03:21 +0800
by
RSA
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
readme
1 parent
6572b9be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
README.md
client/README.md
README.md
View file @
8edd7bf
...
...
@@ -2,22 +2,21 @@
## Installation
npm install on the root and /clien
t directory.
npm install on the roo
t directory.
## Create ENV Variables
Create an .env file in the root directory of your application.
Duplicate the env-template and rename to .env
Create an .env file in the root directory of your application.
Duplicate the env-template and rename to .env
In the .env file, define the environment variables you want to use in your application. ex.
In the .env file, define the environment variables you want to use in your application. ex.
API_KEY="sk-xxxxxxxx"
API_ORG="org-xxxxxxx"
SERVER_URL="http://localhost:3080/"
API_KEY="sk-xxxxxxxx"
API_ORG="org-xxxxxxx"
SERVER_URL="http://localhost:3080/"
## Run server
and client
## Run server
root --> `node index.js`
client --> `npm run dev`
Run server on the root directory
`node index.js`
...
...
client/README.md
View file @
8edd7bf
# ChatGPT Client
# Getting Started with Create React App
This project was bootstrapped with
[
Create React App
](
https://github.com/facebook/create-react-app
)
.
## Installation
npm install on the /client directory.
## Available Scripts
In the
projec
t directory, you can run:
In the
/clien
t directory, you can run:
### `npm start`
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment