techx / quill

📝 Registration, for hackathons!
https://medium.com/hackmit-stories/quill-an-open-source-hackathon-registration-system-91f3a06d22a2
GNU Affero General Public License v3.0
443 stars 341 forks source link

Webpack; Removes most hardcoded HackMIT references #80

Closed SheaBelsky closed 5 years ago

SheaBelsky commented 6 years ago

Resolves most of #79 . There are two places where these hardcoded instances cannot be removed:

All references to a globally installed version of Gulp were changed to instead reference the locally installed version of Gulp. I also moved the Gulp dependencies to devDependencies (there was some duplication) and replaced a deprecated dependency (gulp-minify-css => gulp-clean-css).

The platform now runs on Webpack; Gulp and Babel have had both of their primary functions rolled into Webpack. Right now all the dependencies are installed and Webpack just copies them over as-is. Ideally, the dependencies would be imported where necessary in each file, and then Webpack will manage them.

Further, LESS is now the CSS engine, not SASS. The visual style used, Semantic-UI, is written in LESS, and it makes more sense to write CSS in that language in case there are specific things we need to override. In this case, I still need to manually import the icons to have them work on the frontend.

jlin816 commented 6 years ago

Hi - sorry about closing this earlier, I thought this was one of those commits that people accidentally push here when they're developing for their local hackathon (we get "remove HackMIT" PRs a lot, haha). If you'd still like to contribute to resolving #79, can we split out just the relevant changes for that into a single PR? There are a lot of huge changes rolled into one here.

SheaBelsky commented 6 years ago

Sure; right now it is indeed the case that it's just pulling from what will become our site. I'll create a separate branch that doesn't have any of our stuff and create another PR with all of the agnostic/general stuff. The only thing I'll leave is the home page route, which might be important to other hackathons.

jackcook commented 5 years ago

I'm going to close this since it seems like you've made a bunch of your own changes that aren't specific to the general Quill repository. We will remove the hardcoded references to HackMIT very soon, thanks for your help!