Metaframe template
Fast creation and deployment of advanced metaframe websites.
Target audience: developers building metaframes or any static website where having the core tools of development, building and publishing are packaged and require a small number of commands.
It has everything you need to get a connectable metaframe website up and running and deployed.
- Fork this repo
- Change in
package.json:nameto your npm module name- This repo keeps the npm module name in
package.jsonclose to the github repo name:- npm:
@metapages/metaframe-...? - git:
metapages/metaframe-...?
- npm:
- This repo keeps the npm module name in
repository.urlhomepageversion: set this to e.g.0.0.or whatever you need
- Meet host requirements
- Maybe change
APP_FQDNandAPP_PORTin.env(create if needed) to avoid origin collisions - Type
justand go from there
That's it. Commands are self-documenting: just type just
vitefor fast buildingpreactfor efficient, fast loading sitestypescriptfor type checkingchakra-ui.comfor the UI frameworkjustfor a single method to build/test/deploy/publishdockerbecause I don't want to touch/rely your host system except where needed
justwill be the command runner, notnpm(directly) ormakeor any other underlying tech specific command runner.justis the main entry point to control all aspects of the software lifecycle.- Prefer contextual error messages with calls to action over documentation that is not as close as possible to the code or commands. Distance creates indirection and staleness and barriers to keep updated.
- You are building to publish at github pages with the url:
https://<user_org>.github.io/<repo-name>/- github pages 👆 comes with limited options for some config:
- we build browser assets in
./docsinstead of./dist(typical default) so that publishing to github pages is less configuration
- we build browser assets in
- github pages 👆 comes with limited options for some config:
- Operating this repository should be "easy" and enjoyable. It's a product of love and passion, I am hoping that you enjoy using at least just a little bit.