Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Textpattern CMS demo site
Hi Pete, all,
I think that Pete’s demo should be linked by both this forum (at the bottom where external links are posted), textpattern.com where we are currently linking to an old txp version on opensourcecms and the ,org site.
A suggestion would be to use the rah_external_output plugin in the .com site and create one linklist there which can be then used by txp family of sites.
Easy and quick:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern CMS demo site
Hi Pete,
would it be possible to include in the package some plugins and populate the site a little more? We could use it then as convenient testing platform for txptips. With new themes popping out, we could probably even serve tips as themes?
Offline
Re: Textpattern CMS demo site
etc wrote #293579:
would it be possible to include in the package some plugins and populate the site a little more? We could use it then as convenient testing platform for txptips. With new themes popping out, we could probably even serve tips as themes?
I’m not averse to the idea, but my concern is that it’ll become a catch-all for everything, become too big to manage and then lose its (niche) value. I will, eventually, find time to write up how it runs so anyone can roll their own. It’s running atop a $5 Digital Ocean server on a bunch of cron scripts. None of it is particularly clever or optimised.
I pledge to find some time to a) bring it to EU hosting, b) add 4.6-dev alongside the latest release if that’s viable and c) write the whole process up so it can be cloned elsewhere. I can’t/won’t promise when, but if this would be helpful to the cause, that might spur me on a bit.
Offline
Re: Textpattern CMS demo site
gaekwad wrote #293593:
I pledge to find some time to a) bring it to EU hosting, b) add 4.6-dev alongside the latest release if that’s viable and c) write the whole process up so it can be cloned elsewhere. I can’t/won’t promise when, but if this would be helpful to the cause, that might spur me on a bit.
That would be an excellent txptip:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern CMS demo site
Demo site should be running Textpattern 4.6.0 by 1800UTC.
Offline
Re: Textpattern CMS demo site
Написать! great job.
…. texted postive
Offline
Re: Textpattern CMS demo site
- Moved server to Amsterdam (was San Francisco), rebuilt with Ubuntu 16.04LTS (was 14.04LTS)
- Added 5x user roles
Last edited by gaekwad (2017-04-16 14:37:44)
Offline
Re: Textpattern CMS demo site
Cheers Pete. The demo site has a prominent position in the new Textpattern homepage. Which I’ll share with you directly (it’s not for public viewing right now).
Offline
Re: Textpattern CMS demo site
Until now the Textpattern demo site has been limited to the most recent release/production version. I am very pleased to announce I’m adding a subdomain for the current in-development version direct from GitHub. This is an early alpha announcement to people subscribing on this thread, I’m hoping to overhaul things in the coming weeks as time permits.
For the meantime, and this link may change so please don’t rely on it, the link to use is
(https or http).
Notes:
- the dev demo site pulls the latest software from GitHub every three hours
- the login credentials are the same as the production version (see here for username/password)
- there are no images or files, they are on the to-do list
- everything is nuked and rebuilt from scratch every three hours
- …it uses the same awkward Bunch O’ Bash© as the release version site
This new development is possible thanks to work undertaken by makss in the past few weeks. Makss has added a CLI option to install Textpattern, and it’s fantastic.
The install process for 4.7 (subject to change, it’s still in development) can be automated from a command line. To put this in perspective, the script I wrote to build the demo every three hours tears down the previous install, flattens the files and database, grabs the latest source from GitHub, runs the automated install according to settings in a JSON file, and builds the new site in about 11 seconds. I am certain I can make this even faster, but it’s blisteringly fast compared to walking through the GUI process.
I’ll overhaul and tidy the demo server in December, but you can trial the development version right now without setting up a development environment.
More soon. Thanks for reading.
Last edited by gaekwad (2017-11-24 23:51:13)
Offline
Re: Textpattern CMS demo site
Oh that is smoooooth!
Now we just have to watch we don’t break the dev branch too often :-)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
Re: Textpattern CMS demo site
gaekwad wrote #307979:
Until now the Textpattern demo site has been limited to the most recent release/production version. I am very pleased to announce I’m adding a subdomain for the current in-development version direct from GitHub. This is an early alpha announcement to people subscribing on this thread, I’m hoping to overhaul things in the coming weeks as time permits.
For the meantime, and this link may change so please don’t rely on it, the link to use is
(https or http).
Notes:
- the dev demo site pulls the latest software from GitHub every three hours
- the login credentials are the same as the production version (see here for username/password)
- there are no images or files, they are on the to-do list
- everything is nuked and rebuilt from scratch every three hours
- …it uses the same awkward Bunch O’ Bash© as the release version site
This new development is possible thanks to work undertaken by makss in the past few weeks. Makss has added a CLI option to install Textpattern, and it’s fantastic.
The install process for 4.7 (subject to change, it’s still in development) can be automated from a command line. To put this in perspective, the script I wrote to build the demo every three hours tears down the previous install, flattens the files and database, grabs the latest source from GitHub, runs the automated install according to settings in a JSON file, and builds the new site in about 11 seconds. I am certain I can make this even faster, but it’s blisteringly fast compared to walking through the GUI process.
I’ll overhaul and tidy the demo server in December, but you can trial the development version right now without setting up a development environment.
More soon. Thanks for reading.
That is sooooo impressive. CLI rebuild. wow! that whole process is begging for a great How-To and/or blog post. The news of this ability needs wide distribution!
…. texted postive
Offline
#42 2017-11-25 09:08:11
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Textpattern CMS demo site
Very interesting ! Can you give us a short tutorial about installing TXP automatically?
Offline
Re: Textpattern CMS demo site
jpdupont wrote #307986:
Very interesting ! Can you give us a short tutorial about installing TXP automatically?
Absolutely. I can flesh this out when I have a bit more time (Black Friday/Cyber Monday weekend is always busy for me monitoring client servers). Before I start, some notes:
- This functionality is in the development version of Textpattern at GitHub, which by its nature is subject to change.
- The route I took was figured out from me groking commits by makss, and some trial & error (mostly because I’m rusty at Bash and I’ve been away from Textpattern for a while. There are potentially more efficient ways of doing this.
The workflow comprises:
- Create a JSON file with setup details (behind the scenes, you don’t want this leaking out). Use the template below and fill in the blanks.
siteentries are optional (can be left as-is),mysqlanduserentries are required:
{
"site": {
"lang": "en",
"siteurl": "",
"theme": "",
"public_theme": "",
"datadir": ""
},
"mysql": {
"user": "",
"pass": "",
"host": "localhost",
"db": "",
"table_prefix": ""
},
"user": {
"realname": "",
"email": "",
"name": "",
"pass": ""
}
}
- Obtain the dev version of Textpattern
git clone https://github.com/textpattern/textpattern.git
- Copy or move the files into your preferred webroot. You can safely ignore the
git-related files. - Make sure
textpattern/config.phpis writable by the user you’re using, then runphpfrom the command line:
php /var/www/html/textpattern/setup/setup.php --config="my-setup-config.json"
The output will tell you what’s happening, and if all goes well you should see:
Checking connectivity... done.
[OK] Connected
[OK] Using devdemo. (utf8mb4)
[OK] That went well!
The reference to devdemo is for my server, yours will be different.
Offline
#44 2017-11-25 13:23:13
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Textpattern CMS demo site
Thanks :))
Offline
Re: Textpattern CMS demo site
Not sure thsi is the correct place to ask….but.
Is there a way for our Textpattern installations to let us know when a new version is available once we are logged in as Admin?
For example at the bottom of the Admin login area the footer says:
(4.6.2) · Logged in as admin
But if i was running 4.5.7 it would say:
(4.5.7) - latest (4.6.2) · Logged in as admin
Last edited by bici (2017-12-01 17:43:04)
…. texted postive
Offline