leeda

I want to ask some usage about pixiplayground?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.