Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Codebuff Backend

Deployment

To deploy the Codebuff backend to Google Cloud Platform, follow these steps:

  1. Set up a Google Cloud Platform project and enable the necessary APIs. See: https://cloud.google.com/sdk/docs/install.
  2. Login to the Google Cloud Platform CLI with the command: gcloud auth login.
  3. Set your project ID: to manicode-430317 gcloud config set project manicode-430317
  4. Configure Docker to push to gcloud. gcloud auth configure-docker
  5. Run ./deploy.sh to build and push the Docker image to Google Container Registry.

Database

Environment Variable

  • DATABASE_URL: Set this environment variable in your .env file to connect to the database.

Migrations

  • Migrations are stored in the ./drizzle folder.
  • Run migrations using the migrate script in package.json.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.