Thank you for using Siteswitch!

BEFORE UPLOADING

Before you upload your copy of Siteswitch to your server, please check if:

- Your server runs PHP 7.1 or greater
- Your server is preferrably Unix-based (Windows-based configurations have not been tested)
- Your HTTPD-instance has read/write-access in your public_html (this is usually the case)



UPLOADING YOUR FILES

To upload Siteswitch, you will need (S)FTP-access to your webserver. You can use your favourite
(S)FTP-client to connect to your server. Usually on the webserver there is a folder called 
public_html. Place all the Siteswitch files and folders within this folder. You should now
be able to use Siteswitch by visiting your website.


THE FIRST TIME YOU USE SITESWITCH

After you have uploaded Siteswitch to your server, you can login by going to login.php on your
website. E.g. when your website is at https://example.com/ then you should go to
https://example.com/login.php
You can login using the user name "user" and password "user" (without the quotes). Once you are
logged in, go to Change Page Settings, then click Change User Name/Password. There, you should
choose a user name and password to login to your Siteswitch admin page. Click Save when you
have chosen your new user name and password. Be sure to remember these well!


CHANGE YOUR SITE LAYOUT (NO WEB EXPERIENCE)

By default, your website will show a simple page with the Siteswitch logo, an example article
and a boring layout. You can change all these things by navigating to login.php on your server.
For example, if your website is on https://example.com/ then your login page is on
https://example.com/login.php (there is by default no link to the login page on your homepage,
you will have to enter this URL manually). You can login with the credentials you made earlier.
After that, you are taken to an admin page from which you can manage the images in your images
library, change the appearence of your website and of course create new posts on your website
or edit existing ones.


CHANGE YOUR SITE LAYOUT (ADVANCED)

If you have experience with creating websites, you can edit some files manually to drastically
change how your website appears. In the subfolder called layout, you can find four PHP files
that can manually be edited, added HTML code to, and this way completely change what your
website looks like, without losing the functionality of adding and editing posts on your
website. The files are named fairly straightforward, they are these:

- header.php contains code appearing on the top of your website
- sidebar.php contains code displayed on the side of your homepage if enabled
- separator.php contains code shown in between all the listed posts on your homepage
- footer.php contains code shown on the bottom of your website

Only edit these files if you know what you are doing though, as editing these files may
permanently override some of the layout functionality of the page settings manager.


COPYRIGHT NOTICE

Siteswitch is Open Source Software, created in 2021 by Puck Barton and licensed under
the Apache License.

   Copyright 2021 Puck Barton
   
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
