Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uplocal jqueryui server build #384
Comments
|
instructions unclear lol e.g. formatting is messed up
which, where, what? @superyyao why not make a PR with a proper diff? |
|
Sorry , modify server.js not Gruntfile.js server.listen( httpPort, function() { |
|
yeah, my problem is I can't get an older build than 1.12.1 to work. It just times out. I'll try the VM, thanks. |
|
Related to #359 |
|
Hi there, I created a docker image that allows you to run the jQuery UI theme roller and download builder locally: https://hub.docker.com/r/intera/jquery-ui I hope it helps to run the Theme Roller locally. It should be as simple as running docker run --rm -p 8088:8088 intera/jquery-ui:latestand the opening this URL in your browser: Edit: Fixed the link to docker hub. |
|
@astehlik your solution worked pretty well for me, no overhead and easy to get it running. Thank you! |
|
@astehlik Your solution did work great but I am only able to download 1.12 themes it appears and I need 1.9.x themes for the app I have. Any ideas for a workaround? |
|
@ddison Thanks for your feedback. I tried to download the 1.9.2 version and also got an error. After some digging I was able to solve the problem with a patch. Please pull the newest Docker image and try again. If you are interested: the patch applied can be found here: I hope it works with the new image. |
|
Great! Maybe someone likes to run the docker image on their server so everybody can access it to download the latest builds |
maybe, even, I don't know, possibly someone like, perhaps, the OpenJS team who broke the download in the first place :)
@jorydotcom would it not be possible to run this dockerimage on your infrastructure, maybe with a link from the old download page, so that the builder would be available to everyone unable (or unwilling) to run docker images. |
|
@gbjbaanb I like the idea and I'll see if I can setup a public server. Unfortunately there is an issue when loading an existing theme that needs to be sorted out first: Without fixing that running a public server would not make much sense ;) Any help on this is highly appreciated. |
|
A public demo of the Docker image is now running here: Theme Roller https://jquery-ui.intera.ws/themeroller/ Download Builder |
You must use linux OS to build the service。
jQuery UI DownloadBuilder & ThemeRoller backend and frontend application.
http://www.xmlsoft.org/downloads.html
Requirements
node >= 0.12.x and npm
ImageMagick 6.6.x. (see below for instructions to compile it from source)
grunt-cli: npm install -g grunt-cli
api.jqueryui.com requirements.
ImageMagick installation to see the official documentation Appendix
install git https://git-scm.com/download/linux
apt-get install git
sudo ln -s /home/ubuntu/node-v10.15.3-linux-x64(you node directory)/bin/grunt /usr/local/bin/
npm install -g bower
sudo ln -s /home/ubuntu/node-v10.15.3-linux-x64(you node directory)/bin/bower /usr/local/bin/
download.jqueryui.com-master https://github.com/jquery/download.jqueryui.com
npm install
grunt prepare
(if "grunt prepare" so slow,cd /home/ubuntu/download.jqueryui.com-master/tmp
git clone https://github.com/jquery/api.jquery.com.git
git clone https://github.com/jquery/jquery-ui.git
modify Gruntfile.js
)
if use virtual machine
modify Gruntfile.js
good luck!