Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gulp template with python?
#3
(Jan-29-2019, 12:47 PM)snippsat Wrote: gulp is a task runner and there no problem using it to task that work in Flask.
What's gulp?
  • Spinning up a web server
  • Reloading the browser automatically whenever a file is saved
  • Using preprocessors like Sass or LESS
  • Optimizing assets like CSS, JavaScript, and images
Can eg use it for optimizing assets like CSS,JavaScript and images.
They are still in same place as Flask severe them just that they optimized.
There are stuff that you don't let gulp to like spinning up a web server.
Flask has its own local development web server which can serve static files,and do reload of server change.
When moving away from local web server to a host(want to share with other) need to eg Gunigorn and Nginx(highly optimized to serve static files).

Have a tutorial here,it's show installing npm,gulp,bower..ect all in a virtual environment.
And running a template Freelancer in that virtual environment.
This is not needed as npm,gulp,bower can run on OS and just have virtual environment for Flask stuff,it's just that it can be nice to have all in one place.
Web-development is a messy place with all kind of tool needed or not Wink
Hi, seems like im pretty lost of what gulp does, so tahnaks for the explanation, i would love to see the tutorial but seems like i am getting the "You do not have permission to access this page. This could be because of one of the following reasons:" message :/
Reply


Messages In This Thread
gulp template with python? - by IMuriel - Jan-28-2019, 06:23 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 12:47 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 03:41 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 04:07 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 05:08 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 05:48 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 06:01 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 06:28 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 06:36 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 06:58 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 07:07 PM
RE: gulp template with python? - by snippsat - Jan-29-2019, 07:27 PM
RE: gulp template with python? - by IMuriel - Jan-29-2019, 08:30 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020