/amusements

Begin app

Primary LanguageJavaScriptApache License 2.0Apache-2.0

A fast, beautiful, customizable personal site running on Begin. Demonstrates server(less)-side rendering, shared components, and static assets.

Getting started working locally

  • Initialize the repo + route dependencies: npm i && npx hydrate
    • Note: as you add routes, re-run npx hydrate to keep dependencies fresh
  • To start your local dev server: npm start
  • Learn more about working locally and the project structure of Begin apps

Deploying your site

  • Run Begin's build steps locally:
    • Lint your code: npm run lint
    • Run your tests: npm t
  • Deploy to staging
    • Just commit and git push to master!
  • Deploy to production:
    • Use the Deploy to production button in Begin, or
    • Bump your npm version: npm version [patch|minor|major] && git push origin
    • Cut your own git tag: git tag -a 1.0.0 -m "1.0, here we come" && git push origin 1.0.0

Additional resources


We all can't wait to see what you build with Begin!