Skip to content

itfidele/content.ai

Repository files navigation

Advanced AI Content Creator

Screenshot 2023-11-25 at 23 26 58

Development

Start the Remix development asset server and the Express server by running:

Create .env and add

get your GOOGLE PALM API from this link https://developers.generativeai.google/tutorials/setup

PORT=port_where_server_should_run_from
GOOGLE_PALM_API_KEY=

start a dev server

npm run dev

This starts your app in development mode, which will purge the server require cache when Remix rebuilds assets so you don't need a process manager restarting the express server.

Deployment

First, build your app for production:

npm run build

Then run the app in production mode:

npm start

Now you'll need to pick a host to deploy it to.

DIY

If you're familiar with deploying express applications you should be right at home just make sure to deploy the output of remix build

  • build/
  • public/build/