Giter Site home page Giter Site logo

zluri-web-development-assignment2's Introduction

Web development assignment for Zluri

Here is the Site you'll work on for this assignment: https://main--sparkly-shortbread-7591de.netlify.app/

  1. For the assignment you are required to take this gatsby site and make neccessary changes.
  2. Follow the installation instructions below and clone the github repo on your system.
  3. The questions for the assignment are on the homepage of the site itself. You can view them once the local site is up and running.
  4. Follow the instructions on the homepage and solve the questions as required.
  5. Once the solutions are done follow the hosting instructions to host the site on gatsby cloud.
  6. Once done, share the link with us.

Installation

Install the latest version of NodeJs: Download here

Install VS Code and open the terminal in a new folder

  1. Install the Gatsby CLI

    npm install -g gatsby-cli
  2. Create a new Gatsby site with the repo.

In a new file:

gatsby new web-development-assignment https://github.com/harshavardhan-zluri/web-development-assignment

in widows, if it shows a execution policy error, use the following code:

Set-ExecutionPolicy Unrestricted -Scope Process
  1. Once installed, you can begin developing your site.

    cd web-development-assignment
    npm i --legacy-peer-deps
    gatsby develop

or you can use this instead of gatsby develop:

npm run develop
  1. Once this is successful, you can access the live site at http://localhost:8000/

  2. Start the assignment and follow the instructions as on the homepage.

Hosting Site on Netlify

  1. Open github with your account and create a repo called zluri-web-dev-assignment

  2. In VS Code initiate Git

    git init
    git remote add origin https://github.com/YOUR_GITHUB_USERNAME/YOUR_GITHUB_REPO_NAME.git
    git branch -M main
    git add .
    git commit -m "first commit"
    git push -u origin main

    Your local repository should be snced with your github repo. Now you can make changes to the local site and push it to your remote Github repo.

  3. Open Netlify Click here

    Create a new account

    Use github account.

    netlify
  4. Click on add a site and connect your github repository

    It'll ask to add netlify to your github account, Click install.

    netlify

    Then import the repository.

  5. Once you import it'll take you to the configure screen

    configure configure
  6. Configure Netlify to your Github Repo

    configure
  7. Scroll to the bottom and click on Deploy Repo name

    configure

    You'll be able to see your site building:

    configure

    Once done, you'll be able to open the link of your site hosted on Netlify.

    configure configure

Submission

Submit this site link along with any thoughts or comments you would like to add.

zluri-web-development-assignment2's People

Contributors

antas123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.