You need to download and install desktop now.sh app. It will provide command line utility called
When it has been installed deploy procedure becomes incredibly easy.
Just compile your site (build it):
$ cd ~/Sites/site $ cogear build
It will be compiled to the
output folder which is
./public by default.
Now you are ready to deploy.
$ now --public public
You send the command to Now to upload the folder
--public mode (it's required for non-paid accounts).
Within a few seconds, your site is online!
Site address has been copied to the clipboard.
You may choose an appropriate domain with
now alias command.
$ now alias https://public-psuaoefsus.now.sh cogear.now.sh
You can even use custom domain via DNS management.
Like I do:
$ now alias https://public-psuaoefsus.now.sh cogearjs.org