Blog |
PremiseDeploy is the standard method which our work goes through during and after development time. The action of deploying includes different types of deployments which are made depending on the purpose of the deployment. Knowing which deploy you need for each occasion is key for a good feedback flow ![]() Local Deploy DescriptionMost common type of deployment for debugging iterations. This deploy is done by turning your local machine into a local server that runs on your browser the Decentraland project you have compiled or exported from Unity. Procedure#00 Installing the Needed Resources
Code
#01 Running your Local Decentraland Folder The SDK is installed, now the machine has the resources to understand the folder code and executed.
Code
Code
et voilà: You can run any type of Local Host command as it would happen if you (for example) would like to turn the night mode on or enable Web3 interactions. Just place the parameter at the end of the URL. Code
Vercel Deploy Description Vercel allows developers to run remotely local deploys of a Decentraland scene, this means that is possible to share with a client just a link in order to have them test and try out their project without directly deploying in Decentraland. This process is very similar to GitHub Pages and services like AmazonS3. The deploy is also limited by the same rules as a Local Deploy so bear in mind that the platform is not enabled inside the Vercel deploy. Procedure#00 Gathering the Needed Resources
Code
Code
Code
#01 Deploying the Folder into the Service
Code
Code
Code
et voilà:
Code
Code
Platform DeployDescriptionPlatform deploy is deploying into the final land inside Decentraland. This will make your scene live for everyone to visit and enjoy what you have created. It is also a nice testing area if you are willing to try the real thing with real constrains live. Furthermore is the best way to ensure that everything is working as expected. For these matters you will need to have access to a land through your Metamask account (Operator or Owner rights). ProcedureFirst of all, run the start command and make sure that you are not missing any core functionality of your project. Code
If by any chance your project runs web3 code, double check the server integration is properly done. Run the command that enables web3 during local deploy. Code
Other parameters to keep into account can be found in "Commands and Executions" Once everything is in place and working properly, run the deploy command after interrupting the local emulation (CTRL+C). Code
If you have been granted with operator access, just follow the steps, sign through Metamask the deploy upload and that would be all! Any error or inconvenience happening during deploy will be shown in the command prompt log. By default is following the browser steps. et Voilà. Catalyst DeployIf you want to deploy into the catalyst, just add to the usual deploy command a few arguments that change the target upload. Code
Commands and ExecutionsConsole Project Commands (on Decentraland Project Root directory)Code
More
Note: To preview old scenes that were built for older versions of the SDK, you must set the corresponding version of decentraland-ecs in your project’s package.json file. Conclusion Deploy Considerations: Always consider which deploy suits best the debug purposes and use all the required tools at your disposal to make your project reliable and stable. Kourtin ENVIRONMENT ARTIST I purr when you're not looking. I'm passionate about environments and all the techie stuff to make them look rad. Learning and improving everyday to be a better hooman.
0 Comments
Leave a Reply. |
Categories
All
Archives
March 2022
|