parthibanloganathan / coffeecu

Coffee at Columbia
http://coffeecu.com
11 stars 3 forks source link

Coffee at Columbia

To run locally, clone the repo with git clone --recursive https://github.com/parthibanloganathan/coffeecu.git so that you get the submodule for materialize-custom as well.

You need to create a file called settings.json at coffeecu/ formatted as follows:

{
  "public": {
    "recaptcha": {
      "key": [
        "<RECAPTCHA KEY>"
      ]
    }
  },
  "private": {
    "mailgun": {
      "username": [
        "<MAILGUN USERNAME>"        
      ],
      "password": [
        "<MAILGUN PASSOWRD>"
      ]
    },
    "google": {
      "clientId": [
        "<GOOGLE CLIENT ID>"
      ],
      "secret": [
        "<GOOGLE CLIENT SECRET>"
      ]
    },
    "recaptcha": {
      "secret": [
        "<RECAPTCHA SECRET>"
      ]
    },
    "admins": [
      "<ID OF ADMIN>"
    ]
  }
}

Install Meteor first with curl https://install.meteor.com/ | sh. Finally perform ./run.sh to start the app and view it in your browser at http://localhost:3000.

Only tested on Chrome. ¯\_(ツ)_/¯

Dependencies

For login:

For styling:

For email:

For search:

For image upload:

For routing:

For bug tracking:

For SEO:

For recaptcha:

Hacks:

materialize:materialize-custom is found in /packages and is pulled from the GitHub repo and has the following modifications: sass/components/_variables.scss is modified for a custom color scheme. But we have to compile this scss. So in package.js, we add api.use('fourseven:scss'); and

  api.addFiles([
    'dist/js/materialize.js',
    // Added custom
    'sass/components/_buttons.scss',
    'sass/components/_cards.scss',
    'sass/components/_carousel.scss',
    'sass/components/_chips.scss',
    'sass/components/_collapsible.scss',
    'sass/components/_color.scss',
    'sass/components/_dropdown.scss',
    'sass/components/_form.scss',
    'sass/components/_global.scss',
    'sass/components/_grid.scss',
    'sass/components/_icons-material-design.scss',
    'sass/components/_materialbox.scss',
    'sass/components/_mixins.scss',
    'sass/components/_modal.scss',
    'sass/components/_navbar.scss',
    'sass/components/_normalize.scss',
    'sass/components/_prefixer.scss',
    'sass/components/_preloader.scss',
    'sass/components/_roboto.scss',
    'sass/components/_sideNav.scss',
    'sass/components/_slider.scss',
    'sass/components/_table_of_contents.scss',
    'sass/components/_tabs.scss',
    'sass/components/_toast.scss',
    'sass/components/_tooltip.scss',
    'sass/components/_typography.scss',
    'sass/components/_variables.scss',
    'sass/components/_waves.scss',
    'sass/components/date_picker/_default.date.scss',
    'sass/components/date_picker/_default.scss',
    'sass/components/date_picker/_default.time.scss',
    'sass/materialize.scss',
    //
  ], 'client');