8
Originally intended to publish the code for the updated website, but got carried away and worked on improving the workflow for pushing new builds to servers instead.
Continuing on the same concepts as I have written about before: Swift & direct development setup and Inspiring workflow. First about being able to code and see the changes in the running project instantly without leaving the editor and the second about working on assets and seeing changes in the running project without leaving the asset application.
The project template used in those above videos to make games, is the same template used to make the website. Doing the improvements to the workflow for the website means I can transfer the improvements to the games later.
My old workflow for making a new build was this:
Steps 1 and 2 would be most of the time. After running the local version for a while, you want to try it in the actual system and upload it to the development server. This was OK. Then the rest of the steps were fine in that they did not occur that often, but it did take a minute or two. Doing it manually also adds the possibility of doing an error!
The new workflow for deploying a build:
If for development, answer the question if you want to push all files or only code files. If for production, answer the question if you have remembered to sync git and a final safety question if you are sure want to upload.
The script takes care of building, adding extra files, editing in differences in paths (if prod and dev have the project in different places, say one in root and the other in a sub-folder), cleaning the S3 bucket, uploading to it and if production invalidating the CloudFront distribution.
I implemented it like so:
I have a bug I want to fix before uploading to GitHub, but hopefully early next week. While the site might not be awesome as a whole, it has many shorter useful implementations of preact, bulma and S3 uploading.
Game development using web technologies.
Try the latest development build of Purple & Eye
Try the latest development build of Hive Blocks
Comments:
Reply:
To comment on this video please connect a HIVE account to your profile: Connect HIVE Account