Node JS
Instructions for connecting your NodeJS apps and deploying them on ToyStack
Step 1: Import and Activate repository
Click on import and activate repository button

Now connect your repositories or click on sync with Github.

Configure Toystack application

Step 2: Connect repository to Toystack
Connect all repositories or selected repositories you want to deploy on toystack

You will be able to see all the connected repositories in the dashboard and click on them to proceed with the project configuration

Step 3: Configure project settings
Choose Node as framework if you are using node, and if you are using Dockerfile in your project you can use docker as an option.
Provide build command, dependency installation command, root directory and give right port number.
You can provide environmental variables if present or choose to save changes and proceed with next step.

Step 4: Choose a plan
Choose a plan of your choice and activate it

After the successful payment, you will be able to see your plan details like this

Step 5: Setting up repository
You can setup your repository with the following options and you can see all the information related to your repository

You can select the time you want your build to last from the settings

Step 6: Custom domains and environment variables
You can also assign custom domain name to various branches in your repository.

You can either drag and drop the env file or manually enter it

Step 7: Deploy
Go to deployments and select deploy from branch.
Choose branch and deployment validity and click on DEPLOY.

Step 8: View deployed application
Once deployment is successful, click the URL generated.
Access your node application through the URL.

you can monitor your build and application logs along with the analytics.

Last updated