area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
132 stars 115 forks source link

Photonic3D Website Status #208

Closed kloknibor closed 7 years ago

kloknibor commented 8 years ago

Hi,

So I tried installing the discourse forum for some hours now... I didn't get it up the way that I wanted so I restored the backup. Installing discourse isn't that hard but discourse likes an server for its own normally... So I have to mess with proxy's to get discourse from port 80... (So I can keep hosting websites on the same server/ip)

I also dislike discourse because it's nested deep into the OS, hard to maintain, also need to install everything seperate, needs a load of resources, needs an proxy etc etc. But still I promised to let you guys test it, I'll try it again later but if someone else wants to give it a try drop me an mail and I'll send you the credentials and make an backup ;)!

Dockers runs without problems by the way :)!

Robin

jmkao commented 8 years ago

Hmm.. this shouldn't be that hard, the EXPOSE keyword in docker should abstract the port usage inside the container from usage outside the container. Send me the root credentials directly and I'll have a go at it this weekend.

On Fri, Apr 15, 2016 at 3:41 PM, Robin notifications@github.com wrote:

Hi,

So I tried installing the discourse forum for some hours now... I didn't get it up the way that I wanted so I restored the backup. Installing discourse isn't that hard but discourse likes an server for its own normally... So I have to mess with proxy's to get discourse from port 80... (So I can keep hosting websites on the same server/ip)

I also dislike discourse because it's nested deep into the OS, hard to maintain, also need to install everything seperate, needs a load of resources, needs an proxy etc etc. But still I promised to let you guys test it, I'll try it again later but if someone else wants to give it a try drop me an mail and I'll send you the credentials and make an backup ;)!

Dockers runs without problems by the way :)!

Robin

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/area515/Creation-Workshop-Host/issues/208 !DSPAM:57116e3767063044821352!

kloknibor commented 8 years ago

Alright :) do you want me to install discourse and dockers already? Or do you wan to do it yourself ;)! Also give me a sign when your gonna do it so I can make an backup, I'm busy this weekend with moving to this new server ;)

Robin

Op 16 apr. 2016 om 01:05 heeft James Kao notifications@github.com het volgende geschreven:

Hmm.. this shouldn't be that hard, the EXPOSE keyword in docker should abstract the port usage inside the container from usage outside the container. Send me the root credentials directly and I'll have a go at it this weekend.

On Fri, Apr 15, 2016 at 3:41 PM, Robin notifications@github.com wrote:

Hi,

So I tried installing the discourse forum for some hours now... I didn't get it up the way that I wanted so I restored the backup. Installing discourse isn't that hard but discourse likes an server for its own normally... So I have to mess with proxy's to get discourse from port 80... (So I can keep hosting websites on the same server/ip)

I also dislike discourse because it's nested deep into the OS, hard to maintain, also need to install everything seperate, needs a load of resources, needs an proxy etc etc. But still I promised to let you guys test it, I'll try it again later but if someone else wants to give it a try drop me an mail and I'll send you the credentials and make an backup ;)!

Dockers runs without problems by the way :)!

Robin

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/area515/Creation-Workshop-Host/issues/208 !DSPAM:57116e3767063044821352! — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

jmkao commented 8 years ago

discourse_docker (https://github.com/discourse/discourse_docker) should install as a single self contained docker container that should have no other OS dependencies. if you think you can get it done, then i can work on other stuff, but if you have trouble, let me know and i can take a look.

kloknibor commented 8 years ago

I used this guide :

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

There is also an guide on how to add discourse first and later add al domains, but this requires more work for every domain and I don't want to get down the current domains on the server, and I don't want to much hassle to install new domains...

So keep in mind that there are already domains online ;)

Photonic3d.com isn't moved yet to the new domain but with your hosts file you can point to the new domain to play with it ;)

Thanks and good luck! You got mail :)

Robin

Verstuurd vanaf mijn iPhone

Op 16 apr. 2016 om 07:54 heeft James Kao notifications@github.com het volgende geschreven:

discourse_docker (https://github.com/discourse/discourse_docker) should install as a single self contained docker container that should have no other OS dependencies. if you think you can get it done, then i can work on other stuff, but if you have trouble, let me know and i can take a look.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

jmkao commented 8 years ago

We can use issue to keep track of status on this for everyone.

Discourse is installed and running with github and twitter login integration. It still needs customization work.

WesGilster commented 8 years ago

I got a 502 bad gateway.

WesGilster commented 8 years ago

When attempting a github login.

jmkao commented 8 years ago

Hrmm... I see it too. Looking into it.

jmkao commented 8 years ago

This should be fixed now, but keep an eye out for it (e.g. occasionally log out and try logging back in again with Github). I believe this is because of an flakey DNS configuration at the time I initially installed it, but I'm not certain.

jmkao commented 8 years ago

Tasks that need to be done:

https://forum.photonic3d.com/t/read-me-first-admin-quick-start-guide/10

I'm going to be away from constant Internet access next week, so any progress others can make would be great.

@ergobot, @WesGilster - Your e-mails are flagged for admin rights, so any authentication mechanism that includes your e-mail should automatically give you admin.

jmkao commented 8 years ago

@kloknibor Can you install the following plugins for dokuwiki:

I can begin populating content from there

WesGilster commented 8 years ago

So, I got signed up and authenticated with github, but it took about 3 minutes to login. Not sure if that's normal.

kloknibor commented 8 years ago

@WesGilster was that at the dokuwiki or at the discourse website? I'll install flarum next to this forum to compare them. I'll add the plugins today ;)!

kloknibor commented 8 years ago

@jmkao I installed imgpaste and Oauth, for now I only enabled facebook and github, do you guys want more options? we could add yahoo + or google+ but I don't think that's quite populair... But i can add them later today if desired.

kloknibor commented 8 years ago

So I created an new flarum forum, all logins are fixed now ;)! And all runs smooth! forum can be found here : https://forum2.photonic3d.com/

So discourse : https://forum.photonic3d.com/

Flarum : https://forum2.photonic3d.com/

kloknibor commented 8 years ago

I will try to get the menu bar of the wiki (and forum) the same as our main page so we can easily change between the pages and you won't have the feeling that you leave the website entirely ;)!

kloknibor commented 8 years ago

So https://wiki.photonic3d.com is ready to go if you ask me... I made the menu just like the ones on photonic3D but I broke something... I got the good file and only made a small adjustment so I'll fix it this weekend (kingsday here so I'll be partying for some days, a good reason for a beer ;)!)

WesGilster commented 8 years ago

That's kindof odd. I mean, you need a reason for beer?

kloknibor commented 8 years ago

To drink it at 8 in the morning without weird looks you need that here yes haha :p

kloknibor commented 8 years ago

I'm working on the mobile wiki currently hope to finish it this weekend. If you guys want you can already fill up the wiki :) would be sweet if the help buttons forwarded to that, I can make that happen later ;)

Desktop wiki is fine currently, but the mobile one is a mess... It works-ish but that's about it. Will be improved soon :)

About the forum, discourse seems to be slower at first opening also most people I ask like the flarum look better (without telling my personal preference before). Also duscourse uses more resources.

Shall we make some vote thingy to choose the forum?

Robin

kloknibor commented 8 years ago

Also I added this plugin to flarum : https://github.com/sijad/flarum-ext-github-autolink

Think you guys would like that :)

WesGilster commented 8 years ago

Having never used or managed forum software before, I'm finding I like flarum better due to speed and look. On the other hand, I'm not managing it though so my vote is no different than an ordinary user...

jmkao commented 8 years ago

How would you compare the administrative capabilities, particularly around spam prevention via trust/promotion and upgrades? Spam from non-bot humans is one of the big problems in many other forums, like the buildyourownsla.com forum and the G+ 3D printing community. Upgrades will be a continuing ongoing need.

I would agree with you that in a zero content state, right now Flarum looks somewhat cleaner, but they're close enough in UI that my larger concerns are about administrative viability.

kloknibor commented 8 years ago

Discourse runs in an docker with special port forwarding. It's nested within the server os. Flarum runs inside the domain folder and can be update with composer (update) it's pretty easy if you ask me but jmksao is the one with the more discourse experience

kloknibor commented 8 years ago

Sorry jmkao just read your message. Flarum is easily plugina-able and currently we use akismet to prevent spam. I can set it up in such an way that every message should be improved but we could add an captcha if needed ;)

kloknibor commented 8 years ago

Oh and updating everything including plugins is just one small command! With composer, works great if you ask me

jmkao commented 8 years ago

How does that compare to what Discourse has? I'm really asking more for your sake since both forums now meet most of the requirements (well, I would like paste-image in Flarum since that makes posting screenshots easier, but that's a minor thing that expect to be addressed at some point and not a release requirement).

I don't actually have any discourse experience, I'm just much more familiar with direct command-line Unix system administration and Docker than I am using tools like directadmin or cPanel, so it was easier for me to configure using docker.

i'm also biased in my own way because I've run a small server farm for years that has built up 20-30 VirtualHosts and almost 50 PHP apps, many of which are custom written. I find upgrading the environment difficult because all of the different apps run in the same Apache/PHP yet have different version and library requirements. Some are continually updated to the support the newest, while others have declined in support over the years and must run with older versions of stuff. So I'm actually moving towards separating each of my apps into its own docker container and leave Apache used purely as a load balancer with proxy rewrite rules, so that each app can have its own version of its entire stack, and so that apps that are no longer supported can be left alone and be contained in their security implications to the rest of the system.

However, the functionality we are talking about here is much smaller in scope, and is not likely to increase so dramatically over time. So I'm afflicted with a certain kind of "if only had built it this way from the beginning..." kind of remorse that doesn't necessarily apply here.

Thus, putting my own personal bias aside, I mainly want to ask questions so that you can consider what you want to take on, but in the end the choice is up to you since it has been primarily your effort in starting up the sites (which we are all grateful for), and will be then primarily your effort to keep things running in the future.

kloknibor commented 8 years ago

Sorry @jmkao I'll answer later, not in the state to give you a proper answer, I am able to make you admin and see it for yourself ;)

jmkao commented 8 years ago

I suppose another bias of mine is that I am somewhat more afraid of projects that fail to achieve momentum than I once was. This is also not necessarily a concern for us since if we have a system that meets our requirements, we don't necessarily need an eternal stream of updates if we are wiling to put in the effort, and no project can be truly eternal, interest ebbs and flows.

What feeds my underlying bias is If you look at what seem to be the 3 most mentioned "next generation" forums, you can see their Github stats at:

https://github.com/discourse/discourse/pulse/monthly

https://github.com/NodeBB/NodeBB/pulse/monthly

https://github.com/flarum/core/pulse/monthly

Each of these projects is in a different state of their lifecycle, and you could interpret the stats differently depending on your own comfort level and perspective. For instance, discourse has no issue activity. NodeBB has a lot of issue activity, but more closed than new. Flarum has less issue activity, but more new than closed.

My bias does raise concerns for me relating to a spectrum of stability that, as I mentioned in the beginning, aren't necessarily relevant. Thus, I really want to turn this into a question as to whether you're comfortable with this, and if you are, I think we go for what you are comfortable with.

Regardless of my technical feelings around these things, my overriding project opinion is that we want to encourage people who take the initiative to make decisions and execute.

kloknibor commented 8 years ago

So I am starting to fill up the wiki, stole some things from our github wiki and will get all to there eventually. Altough I do think some can improve but I actually quite enjoy writing the wiki... Didn't expect that haha! I'll also make some more graphical contents and some clips soon. This way it is easy for everyone to use photonic3d! I was quite new with making youtube movies and used an music track which the program I used called free, but someone claimed the copyrights so I had to change all of them, ah well just learned something new ;)!

About the forum, The community over at flarum is quite active. The stats give an bit of an wrong look at the progress from flarum. Most functionality can be added with extensions. I posted once an question about the github login and got an response within 1 minute! another pro is if something breaks that part can just get disabled ;)! And flarum is quite new. They use composer as dependencie manager and it works pretty great, it's easy to maintain and I can update everything with 1 small (composer) command! The only thing I look up against at the moment is that I need to integrate our menu bar in this forum. It is a bit harder than usual since it isn't written in php or something so I can't just add the bar and be done with it but need to write a special extension for it, but well it will be good for learning ;)!

jmkao commented 8 years ago

Well, weigh your options,make your decision, and open the forum :)

kloknibor commented 8 years ago

Sorry I am being hard-headed, when I'm able to make the menu-bar (Which I'm working on as we speak) we will go for flarum ;)!

kloknibor commented 8 years ago

(It's partially personal, I love the community over there too, you can get answers on question within minutes from the helpfull people in the chat or on the forum and the Documentation is nice and fun to read ;)! So I feel more confident working on that!)

jmkao commented 8 years ago

Don't get too caught up on customization code that isn't supported by the platform. If you like the community there, ask them for it and then move on. Writing a full custom plugin just for our header is probably not worth it to us or to them. Generalized template customization that is on par with other forum packages is likely to be something that they need to do as a generalized plugin on their roadmap. If this isn't available yet, don't get too hung up on it.

kloknibor commented 8 years ago

The only thing I want the plugin to do is to echo the menubar code above the original header but withing the the body tags, I can echo it easily before the but this won't be a pretty solution and will give problems. There are more people looking for the same and somebody on the chat offered to try it for me tonigh :D! So that's awesome! We will see if he succeeds, he posted another plugin he worked on and it seemed awesome too!

kloknibor commented 8 years ago

(And I see the website as an fun challange :) I think I can move more work on the website than on the software right now but I most certainly do want to get more involved with the deeper level of the software! So I'm playing around, explore and read a lot lately ;)! Most code I write currently works but is a bit hack-ish and I want to learn program cleaner ;)!

jmkao commented 8 years ago

@kloknibor Can you add https://www.dokuwiki.org/plugin:markdowku to our DokuWiki?

Also, can you investigate ways in Flarum to get RSS and image paste working? The plugin https://github.com/sthinteresting/imageattachments is supposed to allow for image paste in Chrome, but it doesn't seem to work. RSS doesn't seem to be available as a plugin, but rather some kind of manual hack to the PHP source. Might need to consult the team there what is recommended.

kloknibor commented 8 years ago

Yes I'll add it, I tought I made your administrator to so you should be able to do it too, but I'm gonna add it tomorrow. Image pasting is added and worked fine last time I tried with flarum (I pasted the photonic3D picture after copying it from github ;)!) I'll try it again! RSS should be possible! Are you registrered? If so what is you name? I'll make your admin!

kloknibor commented 8 years ago

For ssh I haven't made the 2 new accounts yet, I'm sorry good at pushing things forward! Jmkao you can still login with the old pssword I sended U, but I'll get everyone it's own accounts

jmkao commented 8 years ago

Strange, image pasting is working for me with Chrome in DokuWiki, but is definitely not working for me in Flarum on either Windows or Linux.

kloknibor commented 8 years ago

You are right Flarum isn’t sorry, what are you looking for? Would pasting image/video’s url be sufficient? (like embed the media) or really you copied an image on an image viewer and you paste it?

kloknibor commented 8 years ago

You are right, I haven installed it properly and the extension needs an update, Looking into it!

WesGilster commented 8 years ago

I was fixing the Eclipse Launchers yesterday and I found that I had a pretty serious problem with my visual print material detector. Apparently it wasn't even detecting the appropriate level in my "toughSituation" test. I've fixed the test and had to dial up the tolerance to 7%. There is still tons of stuff I could do with isolating an area of interest and calibrating with circle intersections, but I felt like it's ready for use, so I placed a page out there here: https://wiki.photonic3d.com/doku.php?id=ink_detectors

Long story short, I really like the layout of the wiki, but I think the double scrollbar is pretty 1995.

kloknibor commented 8 years ago

Which scrollbars do you mean? Like main page and content? We could make the sidebar smaller so it only scrolls the content?

kloknibor commented 8 years ago

Ah sorry, I know what you mean know, didn even notice yet ! Sorry I'll fix that!

WesGilster commented 8 years ago

Awesome. It's starting to look good.

kloknibor commented 8 years ago

There are different ways to handle this I initially did it this way because the menu bar would scroll away like on all other pages, but I agree double sidebars are stupid and I didn't take long posts into account.

We can handle it in the following ways :

Currently I think I like the 3-erd option the most to fit it into the complete website but it is the most hardway too. second is quick and easy and does the job but does fit less inside the complete website and the last one has the advantage that if our sidebar gets to big it scrolls with the complete page, but to explore the wiki you always have to scroll up.

I still like the 3-erd option the most but the sidebar is concerning me on smaller displays... What is your opinion on this? It would do fine for me on a full HD screen for now... But well maybe it would be hard for some devices!

Robin

WesGilster commented 8 years ago

My only strong opinion I have is to get rid of multiple scroll bars. At the moment there are 3 scrollbars and that's more than 1.

Think about this from the standpoint of the user. Without drastically moving my mouse, I should be able to scroll to the proper place on the page with a single scrollbar or mouse wheel. Users aren't going to be confused when they "lose" the top menu bar, because they know they can scroll back to the top. On the other hand, they are going to be annoyed when they can't scroll their left outline menu. with the right scrollbar.

This isn't a great example of a gorgeous site, but this is what I'm talking about: http://jbehave.org/reference/preview/

jmkao commented 8 years ago

The behavior when there are 3 scrollbars is weird.... If you use the Window Resizer extension in chrome that will give you an idea of how the page would work on a tablet or phone. The behavior of the inner frames with the outer frame is strange and unintuitive.

One way to make the sidebar work properly on both desktop and mobile is to use a bootstrap based theme that is properly reactive (e.g. turn the sidebar into a hamburger menu when reduced), like:

https://www.dokuwiki.org/template:starterbootstrap

which would work like:

http://dokuwiki.camlittle.com/doku.php

jmkao commented 8 years ago

Or perhaps:

https://www.dokuwiki.org/template:bootstrap3

Which seems more actively maintained and supports bootswatch themes, although I couldn't find an obvious demo site.