Skip to content

YogeshDPalve/codex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codex - Your AI

Open AI CodeGPT

Client

  1. Setup vanilla project using vite

    npm create vite@latest client --template vanilla
  2. Provide only assets folder as a starter. Vite creates everything else

  3. Install all dependensis using

Server

  1. Go to OpenAI, signup and create a secret key. Make sure to copy it as it'll be shown only once!
  2. Create a script in package file to run the server instead of manually running it
  3. Use Render for free server deployments.
    • Create new account
    • Click on the New and select Web Service
    • Publish the repo to github
      • If repo is private:
        • Connect your github account to Render
        • Select the repo
      • If repo is public:
        • Provide repo URL
    • Mention the root folder of server, in this case it's 'server'
    • Mention the command to run the server i.e., npm run server
    • And deploy...

Installation

  1. Download the code/ clone the repo
git clone https://github.com/YogeshDPalve/codex.git
  1. Install the dependencies
  npm install i
  1. Run the development server
  npm run server
  1. Run the client
  npm run dev
  1. Open the link in browser and enjoy!

Releases

No releases published

Packages

No packages published