Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

JSteroids v1.0.1 - deployment in production

Latest
Compare
Choose a tag to compare
@Pejo-306 Pejo-306 released this 22 May 23:17
· 2 commits to master since this release

This release contains no substantial changes to the gameplay or source code of the project. This version marks the deployment of the game on Heroku, as well as predisposing the project for deployment on other production platforms.

Deployment

Heroku Hosting

JSteroids is currently deployed on the following Heroku app:
https://tranquil-bayou-90414.herokuapp.com/
Enjoy your time playing the game :)

Deployment Options

Additional npm scripts have been added (they are located in 'package.json').

The application can still be run on a local webpack development server as before. However, to start it a different npm script is used:

$ npm run dev

For production environments, webpack's development server is not sufficient. In order to deploy the game to production, a lightweight and simple Express.js web server is provided. It can be launched via the following npm script:

$ npm start

Dependencies

This project now utilizes newer versions of nodejs and npm:

  • nodejs: v10.15.3
  • npm: 6.4.1

Changes to the game

  • Main menu: change version text (v1.0.0 -> v1.0.1).