These are chat archives for backbee/BackBee

May 2015
May 29 2015 09:17 UTC
Hello, I just installed 1.0 version. I had problem with assets so I did : ln -s repository/Resources/ resources tomake it works. Second problem is that I can't connect to BO : 404 Not Found - . Did I miss somehting ??
Mickaël Andrieu
May 29 2015 10:24 UTC
Hi @fundup , which webserver did you use ?
did you use the configuration suggested by the web installer
Eric Chau
May 29 2015 10:25 UTC
Hey @fundup, I think your issues are mainly due to your virtualhost. Can you paste here your configuration please?
May 29 2015 12:07 UTC
Yes I use the configuration suggested by the web installer.
<VirtualHost *:80>

DocumentRoot /var/www/backbee-standard-1.0/backbee/

RewriteEngine On

<Directory /var/www/backbee-standard-1.0/backbee >
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{DOCUMENT_ROOT}/../repository/Resources/$1 -f
RewriteRule ^/resources/(.)$ %{DOCUMENT_ROOT}/../repository/Resources/$1 [L]

RewriteCond %{DOCUMENT_ROOT}/../vendor/backbee/backbee/Resources/$1 -f
RewriteRule ^/resources/(.
)$ %{DOCUMENT_ROOT}/../vendor/backbee/backbee/Resources/$1 [L]

RewriteCond %{DOCUMENT_ROOT}/../repository/Data/Storage/$1/$2.$4 -f
RewriteRule ^/images/([a-f0-9]{3})/([a-f0-9]{29})/(.).([^.]+)$ %{DOCUMENT_ROOT}/../repository/Data/Storage/$1/$2.$4 [L]

RewriteCond %{DOCUMENT_ROOT}/../repository/Data/Media/$1/$2.$4 -f
RewriteRule ^/images/([a-f0-9]{3})/([a-f0-9]{29})/(.
).([^.]+)$ %{DOCUMENT_ROOT}/../repository/Data/Media/$1/$2.$4 [L]

RewriteCond %{DOCUMENT_ROOT}/../repository/Data/Storage/$1 -f
RewriteRule ^images/(.)$ %{DOCUMENT_ROOT}/../repository/Data/Storage/$1 [L]

RewriteCond %{DOCUMENT_ROOT}/../repository/Data/Media/$1 -f
RewriteRule ^images/(.
)$ %{DOCUMENT_ROOT}/../repository/Data/Media/$1 [L]
I tried at first without : IfModule mod_rewrite.c . mod rewrite is enabled .
May 29 2015 12:15 UTC
           I forgot public/ on my DocumentRoot. My mistake the config generated at the end of installation is good. 
Thanks for your help
Eric Chau
May 29 2015 12:24 UTC
Ok thanks for these informations, I think I get why you get error 404
can you confirm that if you access to it works?
Or you also get an error 404?
Oh nevermind, so your problem is resolved?
May 29 2015 12:39 UTC is working now. So I think the problem of assets was comming from this to.
Is that possible to execute command like on sf2 to clear cache for example (not found in doc)?
Mickaël Andrieu
May 29 2015 12:54 UTC
@fundup not for now, we have a console with cache clear command but we haven't for now create this command in backbee standard
Mickaël Andrieu
May 29 2015 13:04 UTC
@fundup for now, what you can do is ./vendor/bin/backbee --app='\BackBee\Standard\Application'
@fundup and you should be able to do something like that: ➜ backbee-standard ./vendor/bin/backbee --app='\BackBee\Standard\Application' cache:clear
=> Clearing the cache for the environment with debug true
but theses commands are not tested for now, this will probably be done for 1.1 :)
May 29 2015 13:06 UTC
Ok thanks, I will do an alias on it.
If its not working : rm -rf will do the job. After playing with the interface I can say it's very cool ;) . I do now blogbee tutorial. It's start with : Templates tab on top of the editor . I don't have it ...
cache clear works fine :)
Mickaël Andrieu
May 29 2015 13:11 UTC
you can create your own console very easily =>
The Blogbee (or BackBee tutorial) is not up to date (initaly was the tutorial for 0.11)
Currently, you can't create Layouts or Templates throught the toolbar, but we will probably provide this feature later.
But, you already have this layouts on BackBee standard and you don't need to create it :)
May 29 2015 13:16 UTC
Ok I will check it. Is that plan in next version to use gulp or grunt to manage front-end tasks ?
Mickaël Andrieu
May 29 2015 13:27 UTC
not for now, but we already use grunt bower and npm for the Toolbar .