Configuring the Now CLI tool

Now, let's configure Zeit Now to work on your repository:

  1. Install Zeit Now by executing npm i -g now
  2. Ensure correct installation by executing now -v
  3. Create a new folder under local-weather-app called now
  4. Create a new Dockerfile under the new now folder
  5. Implement the file to pull from the image you just published:
now/Dockerfile
FROM duluca/localcast-weather:6.0.1
  1. Finally, execute the now command in your terminal and follow the instructions to the finish configuration:
$ now
> No existing credentials found. Please log in:
> We sent an email to [email protected]. Please follow the steps provided
inside it and make sure the security code matches XXX XXXXX.
√ Email confirmed
√ Fetched your personal details
> Ready! Authentication token and personal details saved in "~.now"
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.15.99