在ec2 ubuntu 16.04上运行使用ng服务的网站(Runing website using ng serve on ec2 ubuntu 16.04)
我正在使用这个git项目 ,无法让我的服务器上的网站工作。 在我的Mac上,一切正常。
我没有得到任何错误,除了我无法访问它。
任何帮助非常感谢。
谢谢,
斯蒂芬
I am working with this git project and can't get the website to work on my server. On my mac everything works fine.
I dont get any errors other than I can't access it.
Any help much appreciated.
Thanks,
Stephen
最满意答案
在项目目录中打开npm start 。 相关scripts [...]在scripts [...]下的package.json声明
Figured it out, had to deploy and run using pm2. npm run build creates a dist folder which contains server and client folders.
更多推荐
发布评论