Ask DN: How do you deploy and host websites today?

over 7 years ago from Jason Gowans, Co-Founder of Aerobatic

  • Matt Anderson, over 7 years ago

    Similar to the setup I use!

    You had any luck compiling SCSS on the server (on deploy) by any chance?

    0 points
    • Jordan KoscheiJordan Koschei, over 7 years ago

      I do all my processing locally, using Gulp or Grunt. Haven't even tried deploy-time processing.

      1 point
      • Matt Anderson, over 7 years ago

        Ahh damn, that's currently what I do too though I'm getting sick of conflicting css files from the build process…

        0 points
        • Titouan MathisTitouan Mathis, over 7 years ago

          You can add a .gitattributes file, to mark your CSS files as binary and avoid conflicts, with this line:

          *.css -text -diff
          1 point
        • Alex ChanAlex Chan, over 7 years ago

          You can add a hook to your server side deployment to run whatever command you want (e.g. gulp build:dist) when something is pushed.

          2 points