LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2020, 04:22 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 14.2
Posts: 456

Rep: Reputation: Disabled
Web site automation?


I use Slackware 14.2 (64-bit) as my operating system, and I am considering creating my own website, and I want to know what software is available to help me do that. In particular, I want said software to be able to automatically generate any necessary code for it (which is not my area of expertise). I have checked out Bluefish (which seems to rely explicitly on writing code), so I guess you could say that I'm looking for a visually-based website builder. Any suggestions?

Thanks in advance.
 
Old 11-10-2020, 04:43 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,241

Rep: Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253Reputation: 7253
Ever looked at Content Management Software (CMS)? Prime example would be Wordpress. You can install Wordpress on your own server, you do not have to use their hosted version.
There are zillions of other options, Hugo is one at the other end of the spectrum.
 
2 members found this post helpful.
Old 11-10-2020, 06:45 PM   #3
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 14.2
Posts: 456

Original Poster
Rep: Reputation: Disabled
I guess I should have also pointed out that I was thinking more of an terms of an offline website creator.
 
Old 11-10-2020, 06:54 PM   #4
ZhaoLin1457
Member
 
Registered: Jan 2018
Posts: 496

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
Originally Posted by TheNutCase View Post
I guess I should have also pointed out that I was thinking more of an terms of an offline website creator.
You want something like in 1980 with just HTML files? So, you need something like Adobe Dreamweaver, but free? Then maybe Seamonkey can help you.

However, I have some friends who works as web developers, and from what they say, the modern method of developing (offline) websites is to prepare a local webserver, for example using Apache, PHP and Mysql, then to start to develop your site from a "local" website, which is fact hosted in your own computer. If you want "to feel a real webserver management experience" you can install your (local) webserver in another computer from your local network and you can try to handle it only over SSH.

When everything is done, you install/move the site in the real webserver.

Last edited by ZhaoLin1457; 11-10-2020 at 07:14 PM.
 
Old 11-10-2020, 07:44 PM   #5
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C.
Distribution: Slackware64 14.2+
Posts: 223

Rep: Reputation: 49
I develop all sites on Slackware using Wordpress, then push them to the live server. There's all kinds of CMS like platforms, Joomla, Wordpress, Magenta.....of course some require a budget, while others are free.
 
Old 11-10-2020, 07:58 PM   #6
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 846

Rep: Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589
If you want something to work offline, I'd think about a static site generator. Something like Hugo or Jekyll. I've only used Hugo, but the basic idea is that you configure a site, apply some theme, and write the content/pages in Markdown. The generator is responsible for creating the HTML/CSS, which you can preview locally through a built-in web server, and then push the output to your remote web server (hence the static part, no databases involved, just plain HTML/CSS/JavaScript). You can see the basic steps with Hugo here.

The advantage of a CMS (like Wordpress) is that you can get a lot more functionality without any coding skills, although you pay for that with increased complexity (needing hosting with a database, keeping the framework/plugins up to date, etc).
 
1 members found this post helpful.
Old 11-10-2020, 07:58 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,517

Rep: Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169Reputation: 5169
Quote:
Originally Posted by TheNutCase View Post
I guess I should have also pointed out that I was thinking more of an terms of an offline website creator.
Maybe you should give a bit more on what you intend to do... Because Wordpress that Alien Bob mentioned earlier can be used locally or remotely and if you're doing it locally, wouldn't need any access to the internet. It just needs apache and mysql/mariadb (other webservers and databases can be used, but those two are the common ones). That is a pretty simple way to create your own website. With the right plugin, you could also have it export the whole site as static html files rather than relying on a database.
 
Old 11-10-2020, 08:30 PM   #8
LuckyCyborg
Member
 
Registered: Mar 2010
Posts: 821

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
Simplest way: OP can just hire one (or many) web developer(s) to make and maintain a website as he likes.

Guaranteed absolutely no code writing required, no need to create a local/offline LAMP stack, nothing else is needed other than those particular little green papers with American Presidents images printed on them, worldwide known with name of dollars...

This is the best web site "automation" ever.

Last edited by LuckyCyborg; 11-10-2020 at 08:42 PM.
 
Old 11-10-2020, 09:04 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,758
Blog Entries: 27

Rep: Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084Reputation: 5084
You might want to take a look at XAMPP. It makes setting up a local laboratory for website development quite easy. Then you can install whatever CMS software you want to use in it for testing and development.

You also need to learn how to find your way around CSS. Even if you don't have to create your own CSS, you may find yourself needing to edit it, for example, to customize a Wordpress theme to your clients' liking. A web search for css tutorial will turn up a number of useful links.
 
Old 11-10-2020, 09:24 PM   #10
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 846

Rep: Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589Reputation: 589
That's another good thing about static site generators, no messing around with LAMP stacks, etc. Really depends on what OP's needs are though.

@LuckyCyborg, you just made me want a "no" option next to "Did you find this post helpful?"
 
Old 11-10-2020, 10:45 PM   #11
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,235
Blog Entries: 3

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Quote:
Originally Posted by TheNutCase View Post
I guess I should have also pointed out that I was thinking more of an terms of an offline website creator.
Then I'd add my recommendation to the other posts suggesting a static site generator. With one, a possibility would be to work locally and then use rsync to update the remote, public site.
 
Old 11-11-2020, 03:17 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,558

Rep: Reputation: Disabled
If you just want a blog, you'll hardly find something smaller and simpler than bashblog.
 
2 members found this post helpful.
Old 11-11-2020, 05:15 AM   #13
captain_sensible
Member
 
Registered: Apr 2010
Posts: 313

Rep: Reputation: 117Reputation: 117
i'm working on a light CMS written on top of codeigniter4.0.4

All i use is geany for code editing and apache .

Now some use xampp but why bother when you have rc.httpd .

xampp is at /opt basically embedded and not technically installed

To get started :

# chmod a+x /etc/rc.d/rc.httpd

//first time :

# /etc/rc.d/rc.httpd start

//after that fires upat boot.

Hosting is at /var/www/htdocs/

fire up a browser and go to 127.0.0.1 (localhost)


Now you can easily get started with html, with geany you can produce a html5 file using create> template


Html is not that difficult which you can make it look nice with css, if all you want is a site with static pages.
if your interested in learning a little under the hood, probably avoid WordPress. It basically uses a global php function and not
php Objected Oriented code i.e Class , class properties and their methods.


A bain of editing both in xampp and apche is that you can't as normal user and best not to go root.

Its easier with apache. I did intro here :

https://phpocean.com/tutorials/compu...n-gnu-linux/69


the post was on some else's site and there is a least one error, owner and group are not Apache:Apache but apache:apache

Last edited by captain_sensible; 11-11-2020 at 05:20 AM.
 
Old 11-11-2020, 07:52 AM   #14
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 14.1_32
Posts: 354

Rep: Reputation: 194Reputation: 194
I can't code for my life. HTML,etc, you name it, I can't do it. I did have my own website once though and it stayed up and 'current' for about 4 years I think it was.

I used Bluefish and studied the code from other sites. Blue fish *does* have automatic-type stuff to use, it's just learning what it is and where it is and then it's almost like a 'fill in the blank'.

When I saw something on the 'net I wanted to try on my own site, I looked at the code for that site with the intersting thing, then read up on it in little tutorials I would find online, then I'd grab a pre-made basic code somewhere online (if Bluefish didn't happen to have something similar) and then - on my own usually - I figure out where it needed to go and, especially this, *how* it needed to be put in my site code.

Half the fun of my site was doing that kind of thing. Just trying, on my own, to figure stuff out for the site, where to put new things and how to put them in it so it didn't break anything, etc.

I had encephalitis back in '88, and it messed my head up kinda bad so that my memory retention is about as long as a flies life span. I can remember certain things (and there's no telling what that might be or why), so sometimes getting things fixed up in the coding was easy, other times, like trying to figure out how to put code that is found online for letting a visitor play an mp3 song while they're visiting, was extremely difficult for me, *until* I found a certain, very small block of code that worked well, was simple (I think it was around six or seven lines), and I got to where I could change it in a minute or less sometimes with a new song. I still have no idea how to mess with things 'CSS', but that's in Bluefish too with the click of a button (or more?), heh...it was one of those things that for some reason I simply couldn't wrap my head around and understand.

Just give yourself the time to piddle and learn stuff, look at the code on sites with something you think you might like to try and then search for that code to be able to use it on your own site. And remember to play with Bluefish some. It does more than what it appears it can do...I used a very, very small fraction of the stuff it has, but just starting a simple HTML page was the first easy thing I found (for me) it does and with just the click of one of the buttons in the app.

Sorry that got so long-winded, I'm just not a fan of the pre-fabricated stuff like WordPress, etc. I can't explain exactly why that is, but it is. I'm also not a fan of the stuff like Apache and Mariadb etc, simply because I tried once, following the directions word-for-word to use that for something years ago...and nothing happened. I know it didn't 'work' when I was done, but I have no idea if it is still there 'trying' to work or whatever the heck it was I tried to do, lol. I think it was for a motion-detection app for a camera or two I wanted to use for surveillance and it needed to have one or both of those things set up in the system. Meh
 
1 members found this post helpful.
Old 11-11-2020, 09:50 AM   #15
captain_sensible
Member
 
Registered: Apr 2010
Posts: 313

Rep: Reputation: 117Reputation: 117
Code:
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<title>hello world </title>
<style>
h1
{
color:red;	

}	


</style>
<meta name="generator" content="Geany 1.34.1" />
</head>



<body>
<h1>hello world </h1>
</body>

</html>
Well FTIO i have a similar problem with Linux. Luckily i tell myself html is not code only mark up so nothing to be worried about.

if you opened up a text editor say geany , pasted in above text , save it as index.html to the root of your web hosting then you have a one page website.
Its all tags .
[CODE]
<h1> </h1>

[CODE]

the above tells a browser use h1 size, <h1> tells browser where formatting starts and </h1> where it ends.

If you progress to using <a href ="anotherpage.html"> click here </a> and put that in body then you have the basis of a web site at its most basic. I wish basj scripts and Linux was that easy !


By the way one web in a web server should be called for html index.html or for php index.php, thats because by default thats what a wen server is looking for; all other pages can be called what you want.

Last edited by captain_sensible; 11-11-2020 at 09:57 AM. Reason: added explanation
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 2 08-17-2010 02:49 PM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 1 08-17-2010 01:09 PM
Apache site redirects using what rule? foo.site.com -> www.site.com/foo LaughingBoy Linux - Server 2 04-16-2009 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration