Skip to content

CapitalOneCanadaHackathon/gtc17

 
 

Repository files navigation

GiftTheCode

This project was generated with Angular CLI version 1.5.0.

Getting started

  1. Clone the repo
  2. Navigate to root directory in your favourite terminal
  3. Run yarn install (or npm install I guess, but that doesn't have lockfiles)
  4. Umm... Past that do what you want I guess, just don't screw too much up. :D

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Deploying on Firebase

From the root directory, run npm run firebase-deploy. This will build the project, generate a service worker, and then deploy it to firebase.

The link to the site is: https://gift-the-code.firebaseapp.com/

Scripts

Follow these steps to be able to run scripts. Virtualenv is recommended. Pip is mandatory

  1. In your favourite Command terminal, navigate to the scripts directory.
  2. Run the following commands
    1. virtualenv env
    2. source env/scripts/activate
    3. pip install -r requirements.txt
  3. You are all set up to run scripts

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.6%
  • HTML 16.6%
  • Python 14.5%
  • CSS 3.8%
  • JavaScript 2.5%