Despite procrastinating with regard to ActivityPub-PHP, I’ve tried to stay productive in other ways. One of those has been working on the Amore installation process.
While I have a lot of fuzzy ideas about what I want Amore to be and how it should work, I also have some very concrete goals for it. One of the highest priority goals is for it to be as easy to install and configure as WordPress. The “Famous 5-minute installation” is one of WordPress’s killer features, and is probably why WordPress is so widely used.
After the Amore software has been unzipped, the site admin opens a browser and surfs to the directory where they put Amore. The index.php looks for ../conn.php, then conn.php, and if neither is found it sends the admin to dash/admin/install.php. This page asks for information to connect to the database, then uses it to create conn.php. After creating the conn.php file, the process creates the tables in the database and fills some of them with generic information. Then the admin is asked to create an admin user account. Once that is done, they are instructed to move conn.php from the pub/ directory to the amore/ directory, then to go to the login page to finish configuring the website.
I’ve also been working on documentation because the code has been getting so convoluted, it’s been hard to keep track of what was done. The documentation should help me keep track of some of the minutiae in the code.
That’s as far as it’s gotten so far. I still have to rework the index.php and the-login.php, and create the configuration pages. It’s stuff to work on over the next week or so.
When you’re working on a project by yourself and nobody else seems to take an interest, it’s easy to put the project off to one side and work on it at your leisure. So it’s been with me and Amore. I worked on it for awhile, nobody seemed very interested, so I took a break. Having the flu and recovering for some of those weeks made it easy to put off coding and pretty much anything except for sleeping and taking medication. But I digress.
Of all the activity, the ActivityPub-PHP library looks most interesting in the short term. If I can implement it in Amore it would save a ton of time and trouble. However, the developer says it’s another month or so from being ready. And before working on a mobile version or hiring translators, I want Amore to be more stable. Luckily there’s plenty to do in that regard.
One of the goals for Amore is for it to be as easy to install and configure as WordPress, so I’ve started working on that this week. Currently, if someone (insane) wants to use Amore, they’ll have to setup the database on their own, and import the SQL files to create the tables and fill them with data. They’ll also have to fill out the configuration table on their own. WordPress does this in a very user-friendly manner and is worthy of emulating. This week I created a couple of PHP scripts that will create the tables and fill them with default data. There’s a lot more to do, but as the old saying goes:
The journey of a thousand instances begins with a single script.