leeda Posted February 3, 2019 Share Posted February 3, 2019 I saw the playground on Pixi at https://github.com/ivanpopelyshev/playground. I have learned that he is using typescript language and running on nodejs. Since I am not familiar with ts and nodejs, I can only access it through http://localhost:8080 after npm dev startup. Now I want to put him. Deployed to the web server on my window so that he can access it on the public network. May I do this? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 3, 2019 Share Posted February 3, 2019 Original is here: https://github.com/englercj/playground , I have only fork. You can ask in that repo (in issues) or wait when its author @xerver answers here Good luck! leeda 1 Quote Link to comment Share on other sites More sharing options...
leeda Posted February 4, 2019 Author Share Posted February 4, 2019 @ivan.popelyshev@xerverWhat dependencies should I install for this pixiplayground? At present, I only installed webpack, it seems that it can't run normally. How can I solve it? Thank you. Quote Link to comment Share on other sites More sharing options...
xerver Posted February 6, 2019 Share Posted February 6, 2019 Hello, npm contains all the dependencies needed to build and run locally. To run on the server in "production" mode there is a lot more involved (MySQL and CloudFlare integration for example). I have automated scripts for setting up a server, but you still need to build them yourself and make all the configuration. Why are you trying to publish a separate version of the playground app? If you are trying to share a playground with someone, just make it and save it on the live site: https://www.pixiplayground.com/#/edit Quote Link to comment Share on other sites More sharing options...
leeda Posted February 7, 2019 Author Share Posted February 7, 2019 @xerverThank you xerver, your answer has made me understand more, can you tell me how to build your configuration (MySQL and CloudFlare integration for example) on the windows server 2012 WEB server? My original intention was to build a non-English pixiplayground that would allow him to be compatible with more languages and be used and developed by developers from non-English speaking countries! Quote Link to comment Share on other sites More sharing options...
xerver Posted February 8, 2019 Share Posted February 8, 2019 Then you should make those changes and PR them to the main repo, not deploy a separate parallel instance. I'd love to integrate the ability to handle l10n! Setting up and running your own instance is not something you need to do, especially if your not familiar with managing deployments like this. If you insist: Everything you would need to know about setting up a server to run the app on is here: https://github.com/englercj/playground/blob/9267471c869d1610339e8c7a175d322453b69dbd/server/droplet-setup.sh Environment configuration and how that gets setup is here: https://github.com/englercj/playground/blob/9267471c869d1610339e8c7a175d322453b69dbd/server/src/config.ts leeda 1 Quote Link to comment Share on other sites More sharing options...
leeda Posted March 13, 2019 Author Share Posted March 13, 2019 How should the dist folder built by client and serber run? Quote Link to comment Share on other sites More sharing options...
xerver Posted March 29, 2019 Share Posted March 29, 2019 A description of how to run it locally is in the readme: https://github.com/englercj/playground#usage Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.