These are chat archives for ppi/framework

25th
Oct 2015
Paul Dragoonis
@dragoonis
Oct 25 2015 12:15
@murich sorry for delay
Paul Dragoonis
@dragoonis
Oct 25 2015 12:31
@murich or as per my slides in Kyiv - http://talks.ppi.io/20151017-fwdays/#/46 - you expose things as services.
each Module has access to the main $sm (ServiceManager) aka Dependency Injection Container.
hope that answers your question
Paul Dragoonis
@dragoonis
Oct 25 2015 14:09
@/all I just downloaded Gitter app for Mac OSX - much better than in browser
Andrey Murashkin
@murich
Oct 25 2015 16:45
Thanks. Unfortunately I missed it in Kyiv, so this is what I need
Paul Dragoonis
@dragoonis
Oct 25 2015 17:33
@murich did you pull down skeletonapp? and begin to play? https://github.com/ppi/skeletonapp
Roman Tsiupa
@dracony
Oct 25 2015 18:09
I just bout a 15$ theme for the website from themeforest
))
you are really spending too much time on this
Paul Dragoonis
@dragoonis
Oct 25 2015 18:10
:D
Roman Tsiupa
@dracony
Oct 25 2015 18:10
and most of them even have point and click customizations)
Paul Dragoonis
@dragoonis
Oct 25 2015 18:10
@dracony try to hard refresh on website? what browser are you using to see this issue ?
Roman Tsiupa
@dracony
Oct 25 2015 18:11
chrome
Paul Dragoonis
@dragoonis
Oct 25 2015 18:11
you might have a cached copy of http://ppi.io/css/mobile.css
Roman Tsiupa
@dracony
Oct 25 2015 18:11
just make the window 400px wide
and scroll to the right
Paul Dragoonis
@dragoonis
Oct 25 2015 18:11
ok
nope. 400px, it looks fine.
refresh of mobile.css a few times and try again ?
Roman Tsiupa
@dracony
Oct 25 2015 18:12
blob
Paul Dragoonis
@dragoonis
Oct 25 2015 18:13
This was issue earlier today, but I removed the definitions
ppi/website@12e184d
ppi/website@a9b6503
Roman Tsiupa
@dracony
Oct 25 2015 18:14
after refreshing
notr the horizontal scrollbar
Paul Dragoonis
@dragoonis
Oct 25 2015 18:23
@dracony stil seeing the problem ?
Roman Tsiupa
@dracony
Oct 25 2015 18:27
yup
<div class="container" style="width: 800px !important; margin-left: 0">
<ul class="nav">
<li><a class="main-button" href="/downloads">Download</a></li>
<li><a class="main-button docs-button" href="http://docs.ppi.io/latest/">Docs</a></li>
<li><a class="main-button github-button" href="http://www.github.com/ppi">GitHub</a></li>
<li><a class="main-button" href="/blog/">Blog</a></li>
<li><a class="main-button" href="/community">Community</a></li>
<li><a class="main-button" href="https://gitter.im/ppi/framework" target="_blank">Chat</a></li>
</ul>
</div>
Paul Dragoonis
@dragoonis
Oct 25 2015 18:28
that’s old HTML.
Roman Tsiupa
@dracony
Oct 25 2015 18:28
you have width hardcoded in html
Paul Dragoonis
@dragoonis
Oct 25 2015 18:28
the nav has “Home” as first item in navbar
            <div class="navbar-inner" style="width: 800px; margin: 0 auto;">
                <div class="container" style="width: 800px !important; margin-left: 0">
                    <ul class="nav">
                        <li><a class="main-button" href="/">Home</a></li>
                        <li><a class="main-button" href="/downloads">Download</a></li>
                        <li><a class="main-button docs-button" href="http://docs.ppi.io/latest/">Docs</a></li>
Roman Tsiupa
@dracony
Oct 25 2015 18:29
well link me to the new one)
Paul Dragoonis
@dragoonis
Oct 25 2015 18:29
http://www.ppi.io :P I think you have cached copy
Roman Tsiupa
@dracony
Oct 25 2015 18:29
I hard refreshed like 20 times now)
Paul Dragoonis
@dragoonis
Oct 25 2015 18:29
doh! your chrome not like you today
Roman Tsiupa
@dracony
Oct 25 2015 18:30
checked via anonymouse:
same thing
Paul Dragoonis
@dragoonis
Oct 25 2015 18:31
Screen Shot 2015-10-25 at 18.30.52.png
I see “Home” as first item in nav. Don’t you ?
Roman Tsiupa
@dracony
Oct 25 2015 18:33
yes
but anoymouse definutely does not cache your site
Paul Dragoonis
@dragoonis
Oct 25 2015 18:59
@dracony got a minute to run a “git clone” and a “composer install” ? :)
Roman Tsiupa
@dracony
Oct 25 2015 19:00
not at the computer)
Paul Dragoonis
@dragoonis
Oct 25 2015 19:00
@dracony - okay np
Roman Tsiupa
@dracony
Oct 25 2015 19:00
as a rule I try to use the weekends for parks and stuff
so im on a bench inside one actually)
Paul Dragoonis
@dragoonis
Oct 25 2015 19:00
enjoy!
Roman Tsiupa
@dracony
Oct 25 2015 19:01
thanks)
ill ping you when im home)
shouldnt be long, its dark and cold already)
Roman Tsiupa
@dracony
Oct 25 2015 21:16
Home)
Paul Dragoonis
@dragoonis
Oct 25 2015 21:16
@dracony hi!
Roman Tsiupa
@dracony
Oct 25 2015 21:37
btw
git@github urls dont work on windows
you probably should change the lin to the https:// one
so not to confuse people
e.g. I got "access denied (public key)"
Roman Tsiupa
@dracony
Oct 25 2015 21:45

Script PPI\DistributionModule\Composer\ScriptHandler::installAssets handling the post-install-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the ""assets:install --symlink --relative
public "" command.

Paul Dragoonis
@dragoonis
Oct 25 2015 21:55
@dracony didn’t know about windows https issue - thanks! :)
@dracony did you get reason why installAssets() failed?
Are you on Windows ?
Roman Tsiupa
@dracony
Oct 25 2015 21:56
yup
windows only allows creating symlinks when you are an admin
and only throught mklink
Windows is a bitch frankly))
Paul Dragoonis
@dragoonis
Oct 25 2015 22:05
There is option to perform ‘copy’ instead of ‘symlink’
Can you remove this entry from your composer.json and do ‘composer install’ ?
Paul Dragoonis
@dragoonis
Oct 25 2015 22:13
and tell me what happens /cc @dracony
Roman Tsiupa
@dracony
Oct 25 2015 22:13
yup it istalled now)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:13
cool :)
I wonder if should have “default” mode with detection for windows
thoughts?
Roman Tsiupa
@dracony
Oct 25 2015 22:14
you could change this to just asking user to enable opcache:
a PHP accelerator should be installed Failed Install and enable a PHP accelerator like APC (highly recommended).
for pixie, I just say in the docs, that you should create a symlink
so no idea here)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:15
what does opcache have to do with assets ?
Roman Tsiupa
@dracony
Oct 25 2015 22:15
Personally I prefer as little automation as possible
nah that is different
Ii clicked the check system requirements
Paul Dragoonis
@dragoonis
Oct 25 2015 22:15
cool
Roman Tsiupa
@dracony
Oct 25 2015 22:15
and it told me I should get APC accelerator
Paul Dragoonis
@dragoonis
Oct 25 2015 22:17
I have this error too, because running from within php -S, and not within VM (with Opcache)
It doesn’t check for opcache yet :)
Roman Tsiupa
@dracony
Oct 25 2015 22:18
)
It installs both aura/router and symfony/routing
at the same time
?
Paul Dragoonis
@dragoonis
Oct 25 2015 22:22
I have Application module using Aura, and Framework module using Symfony
Roman Tsiupa
@dracony
Oct 25 2015 22:23
ah
Paul Dragoonis
@dragoonis
Oct 25 2015 22:23
You could change Application module to use Symfony if you wish, and only use 1 router.
Aura is lighter than SF :)
Roman Tsiupa
@dracony
Oct 25 2015 22:24
it needs a web config tool lie PuPHPet does)
that would be cool =)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:24
Yes, we already had this idea, but not enough people to help quickly make it
Create Module -> pick router, templating engine ..etc, and -> go
It’s great you also had same idea :)
Roman Tsiupa
@dracony
Oct 25 2015 22:26
Was playing with PuPHPet just yesterday)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:26
I use it too. For PPI apps for customers.
skeletonapp has ansible box from phansible.com, but thinking of having separate repo to let users pick puppet || ansible, thoughts?
Roman Tsiupa
@dracony
Oct 25 2015 22:28
idk really) I usually try to keep things separated
I even separated the auth module into like 4 packages)))
Paul Dragoonis
@dragoonis
Oct 25 2015 22:28
heheh :)
Roman Tsiupa
@dracony
Oct 25 2015 22:28
so Id probably put the environment separately too
Paul Dragoonis
@dragoonis
Oct 25 2015 22:29
agree :+1:
Roman Tsiupa
@dracony
Oct 25 2015 22:29
although I feel there definitely should be an option of having a get-started box
that already has everything set up
and so far even PuPHPet doesnt cut it
Paul Dragoonis
@dragoonis
Oct 25 2015 22:29
existing issue for your asset install :)
ppi/skeletonapp#43
Roman Tsiupa
@dracony
Oct 25 2015 22:30
after I made the video I had lots of people PMing me to help them with their setup even though they followed it flawlesly
e.g. at one PC vagrant box was just not being able to get to internet
on another PHP was segfaulting
Paul Dragoonis
@dragoonis
Oct 25 2015 22:30
LOL
Roman Tsiupa
@dracony
Oct 25 2015 22:31
and most of the PuPHPet machines are 64 bit
and the 3s bit ubuntu base box did not work even for me)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:31
Indeed.
Created ticket on your suggestion: ppi/skeletonapp#46
Roman Tsiupa
@dracony
Oct 25 2015 22:32
Im still using WAMP on windows personally
because vagrant is wasting my battery
yet I woud nt suggest it to anybody
since compiling PHP modules on Windows
is a special kind of hell
Paul Dragoonis
@dragoonis
Oct 25 2015 22:34
very special
I upgraded check.php process to check for opcache:
function_exists('opcache_get_status') && ini_get('opcache.enable’)
Roman Tsiupa
@dracony
Oct 25 2015 22:38
cool =)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:38
A PPI community member already pushed this fix 6 days ago :D
ppi/ppi-distribution-module@062c59f
Roman Tsiupa
@dracony
Oct 25 2015 22:39
)
have you considered submitting here?
Paul Dragoonis
@dragoonis
Oct 25 2015 22:41
nope
Roman Tsiupa
@dracony
Oct 25 2015 22:42
=)
I did 2 days ago)
Paul Dragoonis
@dragoonis
Oct 25 2015 22:43
Updating dependencies (including require-dev)
  - Removing ppi/distribution-module (1.0.1)
  - Installing ppi/distribution-module (1.0.2)
fix for zend opcache
Paul Dragoonis
@dragoonis
Oct 25 2015 23:05
brb - doing some screencasts on ppi bits