tantaman / strut

Strut - An Impress.js and Bespoke.js Presentation Editor
http://strut.io
GNU Affero General Public License v3.0
1.82k stars 485 forks source link

building Strut :) #295

Closed jen1979 closed 1 year ago

jen1979 commented 10 years ago

I need some pointers here, I found a version of Srut that does not upload your images to www.imgur unless you request that , it actually allows local storage which is great for privacy. I need to build this into a deployment version.

I looked for Grunt and npm to build the source code into a deployment. However, I cannot find a definitive version of Grunt or npm, it was like searching through a maze of opinions. Can someone provide a direct single downlink. Also for myself and others please can someone explain why I need to build the sourcecode into a deployment. Its in Javascript, i do not understand the necessity for building a deployment. There is no binary files ,

I had a stroke so i am not as sharp as i used to be, i am missing a few IQ points lol

Any help is appreciated

mwcz commented 10 years ago

What operating system are you using?

jen1979 commented 10 years ago

Hi, is all windows, either windows 7 or vista sometimes

mwcz commented 10 years ago

To answer your question about why a build process is used: there are many reasons that a build is desirable for a JavaScript project. Concatenating source files to improve load time, minifying them to improve load time and execution speed, writing code in an alternate language and transpiling it into JavaScript, etc etc.

If all you need is a deployment, I deployed Strut on OpenShift a couple months ago. It's available here. It's a newer version of Strut than the one at strut.io/editor, and mine includes the localStorage image upload. I intend to leave it up forever so feel free to use it.

If you really do need to deploy this yourself, it should be doable. Installing Grunt and npm on windows is possible I'm sure, but I wouldn't know how, exactly. You need to install Node first so that you can run npm, and once you have npm you can npm install -g grunt to get grunt. Maybe this page helps?

jen1979 commented 10 years ago

Thank you so much for your clarity that all makes sense

I went to your website and you did a great job on Strut its looks good.

Is it possible to download that build so I can run it on my local server?

Kind regards Jenny

mwcz commented 10 years ago

I looked at the repo and I don't think you even need to do a build. The project is pre-built inside the app directory. Just clone the git repo (or download the zip file), and copy the contents of the app directory onto your web server.

Edit: don't do this, see next comment :)

tantaman commented 10 years ago

You do need to do a build to get the templates straight. I used to provide pre-built versions so I'll see if I can start doing that again.

jen1979 commented 10 years ago

Thanks for your comments much appreciated.

If you can provide a pre-built version that runs off-line that would be great. All i need is a version that runs completely off-line.

All help is appreciated Jen

tantaman commented 10 years ago

Google Code actually still has copies of not too terribly old versions of strut that you can download and then just open 'index.html': https://code.google.com/p/strut/downloads/list

2braincells2go commented 9 years ago

Pre-built version would be very nice. Like to deploy on a local network for school use. I am betting the kids would love to use Strut. No way for them to get online so must be ran on local network...

refi64 commented 9 years ago

I think you could do something like this to download the website.