Toystack Docs
  • What is ToyStack?
  • Pricing
  • Get Started
    • Installing ToyStack
      • Github Installation
      • BitBucket Installation
    • Custom Domains and External Domains
    • Databases
  • Virtual OS
    • Getting Started
    • Claude Integration
  • Backend Quickstarts
    • Node JS
    • Django
    • Flask
    • Go
    • Java
    • PHP
  • Frontend Quickstarts
    • ReactJS
    • AstroJs
    • VueJs
    • Solara
Powered by GitBook
On this page
  • Step 1: Import your Git repository
  • Step 2: Select Java as your Framework Preset
  • Step 3: Specify Build Commands
  • Step 4: Input environment variables
  • Step 5: Choose a plan
  • Step 6: Deploy
  1. Backend Quickstarts

Java

Instructions for connecting your Java apps and deploying them on ToyStack

PreviousGoNextPHP

Last updated 6 months ago

Step 1: Import your Git repository

Go to the and create a new project using your repository.

Step 2: Select Java as your Framework Preset

ToyStack can automatically deploy your Java projects. Simply select Java as the preset while deploying the application.

Step 3: Specify Build Commands

There may be framework specific build commands that are needed for your application. You can specify that in the configuration.

Step 4: Input environment variables

Please ensure the PORT number matches the one specified in your app orDockerfile

Step 5: Choose a plan

Step 6: Deploy

Simply select the branch you want to deploy, its deployment validity and ToyStack will deploy it

If you run into issues or you'd like to use your custom configuration, you can use DOCKER as the framework instead. You can read more about it in the page.

For detailed instructions, please see the page.

Deploying with Docker
Environment Variables
ToyStack Dashboard