Code Monkey home page Code Monkey logo

web's Introduction

UPchieve web client

Online tutoring platform built with Vue.js and Webpack

CircleCI

Build Setup

  1. Install NodeJS either via binary or Homebrew (brew install node)

  2. Run the following command to get the version number of both NPM and Node. Node has to be >= 11.7.0 and NPM has to be >= 6.0.0 for this project.

# Get NPM version
npm -v 

# Get Node version 
node -v

Note: if either of the following errors occur, add Node and NPM to your $PATH and restart the command prompt.

  • 'node' is not recognized as an internal or external command, operable program or batch file
  • npm' is not recognized as an internal or external command, operable program or batch file
  1. Clone the repository using HTTPS, SSH, or a git client like Fork.
# HTTPS
git clone https://github.com/UPchieve/web.git

# SSH
git clone [email protected]:UPchieve/web.git
  1. Move into the repository folder:
cd web
  1. Install Node dependencies:
# install dependencies
npm install
  1. NPM commands (available to use in the web repository directory)
# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run test

# run e2e tests
npm run e2e

# run linter
npm run lint

# remove node_modules & dist then reinstall
npm run clean-slate
  1. See the web server repo for server installation

More information about our Vue setup:

Build Setup Docker Alternative

This can also be run with docker and no other software. Use these instructions to rebuild your image as you iterate. It is assumed that you have Docker installed and running.

  1. Download the repository.
#Clone the repository
git clone https://github.com/UPchieve/web.git
  1. Move into the repository
#Enter the repository
cd web
  1. The below command will make the program visible at localhost:8080
#The first time this is run it may take a few minutes, but afterwards it should be faster. Rerun with each change to see updates
docker build -t upchieve/web . && docker run -it -p 8080:8080 --rm --name upchieve-web-prototype-1 upchieve/web

web's People

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.