网页 - 运行环境
Prerequisite Reading
相关设定参数
Based on what config values you had provided for the website’s config.[WEBSITE].host and config.[WEBSITE].port, you should be able to access the website at http://[config.[WEBSITE].host]:[config.[WEBSITE].port]. Make sure you use different ports for each website.
例如,如果你的config.ayim.host是localhost,config.ayim.port是3000,ayim 网站的网址为http://localhost:3000。
config.[WEBSITE].publicUrl “应等同于 “config.[WEBSITE].host “和 “config.[WEBSITE].port “的组合。 在上面的例子中,这将是 http://localhost:3000。
更多信息请参阅 配置参考。
运行环境
根据你想要运行的网站,您需要在单独的终端运行以下命令:
| 网站 | 命令 |
|---|---|
| AYIM | npm run ayim-dev |
| Closed | npm run closed-dev* |
| MCA | npm run mca-dev |
| Main | npm run main-dev |
| Open | npm run open-dev |
*当前不存在
网站现在应该可以在 配置参考 中配置的 URL 上访问。