Node JS
Instructions for connecting your NodeJS apps and deploying them on ToyStack
Last updated
Instructions for connecting your NodeJS apps and deploying them on ToyStack
Last updated
Click on import and activate repository button
Now connect your repositories or click on sync with Github.
Configure Toystack application
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
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.
Choose a plan of your choice and activate it
After the successful payment, you will be able to see your plan details like this
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
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
Go to deployments and select deploy from branch.
Choose branch and deployment validity and click on DEPLOY.
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.