Deploying Game Server on Heroku
Запись от 8Observer8 размещена 17.02.2019 в 20:58
Показов 1631
Комментарии 0
Метки gamedev, heroku, javascript
|
Blog content Heroku is a free hosting. Let's deploy the application from this instruction: Emit and Broadcast JSON using Socket.io and JS/ES5 You need to register on https://heroku.com/ and complete this official instruction: Getting Started on Heroku with Node.js Go here: https://dashboard.heroku.com/apps and create a new application. For this you need to press "New" button in right top corner. Select "create new app". I created a new application with the name: red-game. It this case my application will be available from this domain: https://red-game.herokuapp.com/ When you create your application at first time you will see this web page:
Replace this line of code:
The file ".gitignore" should have this*content:
Enter these commands:
P.S. You need to empty cache when you change your client side scripts of files: RMB on "Reload" button and select "Empty Cache and Hard Reload" | ||||||||||||||||||||||||||||||
Метки gamedev, heroku, javascript
Размещено в Без категории
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Всего комментариев 0
Комментарии


