Giter Site home page Giter Site logo

mhfa's Introduction

MHFA

Work-in-progress.

Contributing

As of right now this project should be relative to the Growing Up Patterns.

- ๐Ÿ“ growingupnyc-patterns
- ๐Ÿ“ mhfa

If you do not have the Growing Up NYC Patterns set up this way, clone them before cloning this package.

$ git clone https://github.com/NYCOpportunity/growingupnyc-patterns
$ git clone https://github.com/CityOfNewYork/mhfa
$ cd mhfa

Then install dependencies and start the Patterns CLI development server.

$ npm install
$ npm start

CHANGELOG

JavaScript Enhancements to Integrate

  • Google Translate Element (need to pull example from one of our sites)
  • Web Share Component (available in the Patterns Scripts library)

v0.0.0-3

Integrated the following items.

  • Integrate the icons
  • Potentially use CDN for Styles and Icons (SVGs)
  • Get JavaScript to work (modules need to be implemented on an as needed basis)
  • Single program template (Trauma Support)

v0.0.0-2

Integrated the following items.

  • Styles (locally compiled)
  • Scripts (CDN)
  • Default layout
  • Partials directory with some objects and components
  • Homepage template
  • Archive template

To dos.

  • Integrate the icons
  • Get JavaScript to work
  • Potentially use CDN for Styles and Icons (SVGs)

v0.0.0-1

Initialized an NPM/Node.js project.

$ npm init

Installed the @NYCOpportunity Patterns CLI and Growing Up NYC Patterns.

$ npm install @nycopportunity/pttrn

The Growing Up NYC Patterns need to be installed as a local file dependency.

$ cd ../
$ git clone https://github.com/NYCOpportunity/growingupnyc-patterns
$ cd mhfa
$ npm install ../growingupnyc-patterns

The path ../growingupnyc-patterns would vary if Growing Up Patterns is already cloned locally.

Ran the pttrn scaffold command to set up the project.

$ npx pttrn scaffold

Added Pattern NPM scripts to the project.

  "scripts": {
    "start": "cross-env NODE_ENV=development concurrently \"pttrn -w\" \"pttrn serve -w\" -p \"none\"",
    "version": "npm run default && git add .",
    "prepublishOnly": "git push && git push --tags",
    "publish": "cross-env NODE_ENV=production pttrn publish",
    "default": "cross-env NODE_ENV=production pttrn"
  },

Added .gitignore to the project.

$ touch .gitignore

Updated README.md


The Mayor's Office for Economic Opportunity

The Mayor's Office for Economic Opportunity (NYC Opportunity) is committed to sharing open source software that we use in our products. Feel free to ask questions and share feedback. Interested in contributing? See our open positions on buildwithnyc.github.io. Follow our team on Github (if you are part of the @cityofnewyork organization) or browse our work on Github.

mhfa's People

Contributors

devowhippit avatar

Watchers

James Cloos 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.