在Google Compute Engine上新安装的MEAN文件系统位于哪里?
我在端口3000中看到"This is the home view",但是找不到实际的文件
首先,SSH到您的VM。根目录下有一个安装脚本"mean_install.sh
"。打开它:
vi /mean_install.sh
在这里您可以找到在MEAN部署期间使用的所有安装路径。在底部你会看到:
# Step 2 : Create the app in /opt and launch it
cd /opt
mean init ${APP_NAME}
cd ${APP_NAME} && npm install
bower install --allow-root --config.interactive=false
grunt > development.log 2>&1 &
所以你的文件在/opt/your-app-name/