• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Comand line shell
PostPosted: Thu Mar 05, 2015 9:42 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Jan 26, 2012 3:22 pm
Posts: 239
Location: Belgium
it would be cool if a CLI tool exist for CMSMS.
like drupal has drush, wordpress has wp-cli. CMSMS could have its own comand line script.

easy setup, easy updates, clearing cache. all trough a line of text.
it would be fantastic if you could type somethin in the style of
Code:
user@localhost: var/www$ cmsms dl stable-version name "mysite"
user@localhost: var/www$ cmsms install "mysite"


And afterwards you can do things like update
Code:
user@localhost: var/www/mysite$ cmsms update

Or clear cache
Code:
user@localhost: var/www/mysite$ cmsms cacheclear

checking module status to see witch module to update
Code:
user@localhost: var/www/mysite$ cmsms modulestatus
user@localhost: var/www/mysite$ cmsms moduleupdate 15 //module number
user@localhost: var/www/mysite$ cmsms moduleupdate all

_________________
Kind regards,
HarmO


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Wed Mar 11, 2015 9:07 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Tue Nov 21, 2006 5:05 pm
Posts: 731
Location: OH, USA
+1 Sounds like a great feature.
If you are handy with command line, you can still do things like this to find all files and remove them from a directory:
find temp/cache -type f -exec rm -f {} +
find temp/templates_c -type f -exec rm -f {} +

add if older than 10 days:
find temp/cache -type f -mtime +10 -exec rm -f {} +

But, yeah, user@localhost: var/www/mysite$ cmsms cacheclear would be super easy ;)

_________________
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Tue Mar 24, 2015 1:01 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Jan 26, 2012 3:22 pm
Posts: 239
Location: Belgium
There was a presentation during the last geekmoot on this subject.

I was hoping to go but couldn't.
Any chance that someone filmed it?

_________________
Kind regards,
HarmO


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Tue Mar 24, 2015 1:13 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3020
Location: The Netherlands
During GeekMoot there was no presentation about a CLI tool for CMSMS.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Tue Mar 24, 2015 3:59 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Jan 26, 2012 3:22 pm
Posts: 239
Location: Belgium
Not on a CLI tool but on installation trough CLI was i believe. It was on the schedule anyway:
Quote:
13:55 - 14:15 - CMSMS installation via Shell (Anne-Mieke Bovelett)

_________________
Kind regards,
HarmO


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Tue Mar 24, 2015 5:00 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3020
Location: The Netherlands
Yes, it was however covered by Jeff's presentation (ajprog).

The actual installation is done through the usual install method by the way.


Last edited by velden on Wed Mar 25, 2015 12:49 pm, edited 1 time in total.
typo


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Comand line shell
PostPosted: Wed Mar 25, 2015 12:47 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Jan 26, 2012 3:22 pm
Posts: 239
Location: Belgium
ok thanx for telling :-)

_________________
Kind regards,
HarmO


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting