Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1018 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 1018 Bytes

Zero-Hunger

Building Website for a solution of zero Hunger

All html files should be stored in views directory, but it's extension should be '.hbs' (handlebars) instead of '.html'.
All css and image files should be stored in public directory.

All 'href' attributes will have it's base directory in public directory. For example, to add css link in '.hbs' files present at views the code should be
link rel="stylesheet" href="css/style.css"
instead of
link rel="stylesheet" href="../public/css/style.css"

To run Live Server

  1. Create a new codespace. Wait for the codespace to be build properly.
  2. Open git bash terminal.
  3. Run "npm i nodemon" in the terminal. Wait for the download and installation.
  4. Type "npm run dev" in the terminal.
  5. Click on "Port" in the terminal options.
  6. Click on the "Open in Browser" to enjoy Live Server.