Giter Site home page Giter Site logo

gwc-summerparty's Introduction

Phase I - Install & bring up the server

  1. Open a Terminal. Use the below commands to open a terminal in your system:

    • MAC
      1. Type Command + Space bar, type terminal & hit enter OR
      2. Open the Applications >> Utilities >> Terminal
    • Windows
      1. Type Window + R then, type cmd and press Enter to open a Command Line Interface OR
      2. Click the Start >> Program Files >> Accessories >> Command Prompt to open a Command Prompt
  2. Install Node & NPM

    • MAC
      1. Install Homebrew by typing: ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install in the terminal
      2. To see if brew is installed, type "brew -v" in the terminal. It should output something like this:
      Homebrew 1.1.11
      Homebrew/homebrew-core (git revision be9c; last commit 2017-03-09)
      
      1. Type brew install node in the terminal
      2. To see if Node is installed, type node -v in terminal. This should print the version number so you’ll see something like this:
      v0.10.31.
      
      1. To see if NPM is installed, type npm -v in terminal. This should print the version number so you’ll see something like this:
      1.4.27
      
      1. Reference Link: https://treehouse.github.io/installation-guides/mac/node-mac.html
    • Windows
      1. Download the Windows installer from the Nodes.js® web site.
      2. Run the installer (the .msi file you downloaded in the previous step.)
      3. Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings).
      4. Restart your computer. You won’t be able to run Node.js® until you restart your computer.
      5. Reference Link: http://blog.teamtreehouse.com/install-node-js-npm-windows
  3. Install VS Code Editor

    • MAC

      1. Download Visual Studio Code for macOS.
      2. Double-click on the downloaded archive to expand the contents.
      3. Drag Visual Studio Code.app to the Applications folder, making it available in the Launchpad.
      4. Reference Link: https://code.visualstudio.com/docs/setup/mac
    • Windows

      1. Download the Visual Studio Code installer for Windows.
      2. Once it is downloaded, run the installer (VSCodeSetup-version.exe). This will only take a minute.
      3. By default, VS Code is installed under C:\Program Files\Microsoft VS Code for a 64-bit machine.
      4. Reference Link: https://code.visualstudio.com/docs/setup/windows
  4. Clone the git repository by typing git clone https://github.com/vytrinh/gwc-summerparty.git in the terminal

  5. Run the below commands on the terminal to install the dependencies & bringup the server

    • npm i -g webpack-dev-server
    • cd ~/gwc-summerparty
    • npm i
    • npm run start
  6. Then, navigate to http://localhost:8080 in the browser.

Phase II - Customize the app

We are finally done with installations and server is up & running. In next few steps we will customize the app :)

Activity 1: Change theme of the app

  1. Open up VS Code and type command + o. This should open up the a file finder.
  2. Select the folder for the git repository that you cloned earlier in step 4.
  3. In the editor left hand nav (type command + b to open if it's not already), select src >> css folder & double click on style.css to open the file.
  4. To change the theme of the app do the following:
    • In the style.css file, change Line 8 to background-image: url('../images/background_2.jpg'); & save the file. Goto back to the browser & the app will now have new background.
    • To change the logo of the app. In the editor, goto src >> components folder & click on app.js to open the file in the editor.
    • In the app.js file, at Line 6 add import Logo2 from '../images/logo_2.png';
    • In the app.js file, change Line 29 to <img src={Logo2} /> & save the file. Goto back to the browser & the app has new a new logo :)

Activity 2 : Change the color of input text

  1. Navigate to src >> css. Double click on style.css to open.
  2. Find the style for #create-todo[type=text]. Replace color: #848484; with color: #ffffff;. Save the file.
  3. Navigate back to http://localhost:8080 in the browser and observe the style update you just made. The input text should at the top of the list should now be white :)

gwc-summerparty's People

Contributors

priyanka-cmu 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.