- Building Single:page Web Apps with Meteor
- Fabian Vogelsteller
- 207字
- 2021-08-06 19:29:36
Meteor's command-line tool
Now that we know already about Meteor's build process and folder structure, we will take a closer look at what we can do with the command-line tool that Meteor provides.
As we saw when using the meteor
command, we need to be inside a Meteor project so that all actions will be performed on this project. For example, when we run meteor add xxx
, we add a package to the project where we are currently in.
Updating Meteor
If Meteor releases a new version, we can simply update our project by running the following command:
$ meteor update
If we want to go back to a previous version, we can do this by running the following command:
$ meteor update –-release 0.9.1
This would set our project back to release version 0.9.1.
Deploying Meteor
Deploying our Meteor app to a public server is as easy as running the following command:
$ meteor deploy my-app-name
This would ask us to register a Meteor developer account and deploy our app at http://my-app-name.meteor.com.
For a full introduction on how to deploy a Meteor app, refer to Chapter 10, Deploying Our App.
In the Appendix, you can find a full list of Meteor commands and their explanations.
- C語言程序設計案例教程(第2版)
- The Android Game Developer's Handbook
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- 實用防銹油配方與制備200例
- JavaScript+Vue+React全程實例
- 大學計算機基礎實驗指導
- 軟件測試實用教程
- Test-Driven Machine Learning
- 智能手機APP UI設計與應用任務教程
- GameMaker Essentials
- Red Hat Enterprise Linux Troubleshooting Guide
- 硬件產品設計與開發:從原型到交付
- Magento 2 Beginners Guide
- Mastering Bootstrap 4
- Java EE實用教程