Skip to content

JamesTwisleton/ai-persona-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-persona-app

Running locally

Requirements

Instructions

  1. Navigate to the nextjs folder.

  2. Create a .env.local file - check out .env.local.example for the format.

  3. Install and run the app:

    npm install
    npm run dev
  4. Open http://localhost:3000 with your browser to see the result.

Development

  • after cloning the repo, copy pre-commit into the .git/hooks folder to add a pre-commit which runs prettier

Deployment

Pushes to main branch will be deployed to:

personacomposer.app

Persona Compass Application

  1. Navigate to python folder.

  2. Run the bash script 'compose_docker.sh' to build, or if already built - to launch the application.

    ./compose_docker.sh

    To rebuild the app after code changes, run:

    ./compose_docker.sh --rebuild
  3. Follow the first of the two browser links that are generated. Press CTRL+C in the terminal to stop the app.