Publish your final project

- [Instructor] So when you're ready to publish your project,…I'll show you how to prepare the final production bundle…and what to use.…Let's get to it.…So, first bring up the terminal,…or whatever terminal you're using,…internal or external to your code editor.…And let's stop our application by doing ctrl + c…in VS code.…And how you create the bundle is very simple.…So, you do npm run bundle.…That's how simple it is.…

And what React VR will do for you now…is create all the files that you need…that you can drop in a server…and be able to run your application,…but please make sure that you run it in a server,…because if you simply grab those files…and try to load index in your regular browser,…and there's no server supporting it in the back,…nothing's going to happen.…And I'm going to show you,…'cause I actually tried that myself way back,…so believe me, it's not going to work.…You need a server in the back.…So right now, we have a server.…

Whenever we start our React VR application, we have a server…so, you need a server.…

Resume Transcript Auto-Scroll

Author

Released

1/30/2018

Once you've learned the basics of virtual reality, you can create immersive, interactive experiences that enable users to play and learn. With React VR, developers can add multimedia, including video, 3D models, and animation, and use the component state to dynamically re-render content. This course teaches you how to go beyond the basics and combine these elements into a single immersive VR project: a space-themed environment for NASA Earth Science. Instructor Emmanuel Henri also teaches you how to structure and test your projects, letting you safely explore more complex possibilities with React VR.