You should have some basic knowledge of Apache, PHP and MySQL in order to follow this tutorial.
Also you should start by ensuring that you have compatible versions and modules installed.
You can get the files directly from the GitHub repository...
https://github.com/in2isoft/OnlinePublisher
This is where the source is hosted, and there are at least two ways to get the files...
The quickest way to get started is by downloading everything as a ZIP-file. Using this method you get the latest version but you will have to re-download in order to update in the future.
If you choose to use the source control system "Git" to check out the files you can easily update to the latest version in the future.
If you are not familiar with Git - here is a good article on setting it up.
Use the following command to clone the repository...
git clone git://github.com/in2isoft/OnlinePublisher.git
If you install it on Mac OS X you can use the "Sites" folder.
Create a new empty database to use with the system. The system will create the necessary tables later.
Note: the table encoding must be "cp1252 West European (latin 1)" at the moment - we plan to switch to UTF-8 at a later time.
The configuration file should be located in «base folder»/Config/Setup.php.
A sample file named "Setup.sample.php" already exists in the folder - so you can make a copy of that and change its values. It is a good idea to keep the sample file for future reference.
The following information should be provided...
If you access the system before the configuration file exists it will provide you with an interface to help you create the file.
When you fill in the fields it will dynamically generate the configuration file in a preview in the bottom. You can then manually but the text into the file: /Config/Setup.php.
Using the button "Test database" you can ensure that you can access the database.
When you have created the configuration file you should be able to access the login page.
Just go to the URL: «base url»/Editor/ and it should redirect you to the authentication page.
If you see the message "The database cannot be reached" it means that you have not provided the correct info in the configuration file.
If configured correctly the first thing you should see is a warning telling you that the database schema is incorrect.
Here you can click "Update" and provide the super user from the configuration file.
This will create all the tables necessary in the database.
After providing the super user and hitting update you should see a log of all the SQL statements executed.
You should maybe check that nothing horrible has happened at this point.
When the database schema is correct you should be presented with the login screen.
Here you can click "Forgot password" and then "New user" in order to create a new administrator.
In order to create the administrator you again need to provide the super-user along with the username and password of the new user.
After creating the administrator you should be able to log in.
We hope the ride was not too hard, please contact me whenever you run into trouble...
Jonas Brinkmann Munk Software developer Ågade 25, 4.th 9000 Aalborg Danmark E-mail: jonas@in2isoft.dk E-mail: jonasmunk@gmail.com E-mail: jonasmunk@mac.com |
We focus on user experience and design. We seek out the most simple and essential solution. We believe that machines should work for people. We think that knowledge should be free and accessible to all. We hope you agree :-)