Skip to content

AraBlocks/ara.team

Repository files navigation

ara.team

Static website ara.team hosted on Cloudflare Pages.

Notes

https://developers.cloudflare.com/pages/get-started/c3/

$ yarn create cloudflare (with yarn 1 installed globally)
ara-team, sets the local directory and pages project name in the dashboard; use hyphen, not space
Framework Starter, category
Nuxt, framework
y, yes to install nuxi@3; didn't get asked the second time through these steps
no, don't use git for version control; going to drag created files into this existing repository
yes, deploy to cloudflare; add domain after that in the dashboard

Previous Notes

desktop browser, github.com, new repo, example.com name, public or private
yes readme, node gitignore, gpl3 license

$ git clone https://github.com/username/example.com
$ cd example.com
$ npm init
$ npm install -D wrangler
$ mkdir public_html

desktop browser, sign into github and cloudflare

$ git clone https://github.com/username/example.com
$ cd example.com
$ npm install

$ npx wrangler version
$ npx wrangler login
$ npx wrangler whoami

$ npx wrangler pages project create example.com --production-branch main
$ npx wrangler pages deploy public_html

package.json:

  "scripts": {
    "pages:deploy": "wrangler pages deploy ./public_html --project-name example.com"
  },

$ npm run pages:deploy

$ npm install -g serve
$ serve --version
$ serve public_html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published