These are chat archives for luyadev/luya

22nd
Mar 2017
Klaus Mergen
@kmergen
Mar 22 2017 08:54
blob
What is best practice (especially for db) to bring local website (wamp) to production server (debian with lamp) first time ? In the guide please adjust the config files.
Marc Stampfli
@TheMaaarc
Mar 22 2017 10:07
@kmergen Will adjust the names in the screenshot today. Thanks for letting us know!
Basil
@nadar
Mar 22 2017 10:07
Fur current dev-master build we use the admin/proxy command, this means you can sync from production to the "child" environments with one command (including files and images)
Basil
@nadar
Mar 22 2017 10:14
in other words we do create the prod environment very soon, as its very easy to deploy (https://github.com/luyadev/luya-deployer) and then add "production data" in the production environment and sync back to your local env with the ./vendor/bin/luya admin/proxy command. (admin/proxy is available in dev-master)
We are going to create a guide page about this, good point.
Klaus Mergen
@kmergen
Mar 22 2017 11:03
OK. Will look at luya-deployer module how to do it.
Basil
@nadar
Mar 22 2017 12:18
@kmergen The deployer is only ment to deploye your project on the host, it will not transfer the database content. Just deployes your code and runs the comands like migrate, import, by default on each deployment
Klaus Mergen
@kmergen
Mar 22 2017 13:15
Can you give short instruction what's the best way to add the local db to the server
Basil
@nadar
Mar 22 2017 13:17
using phpmyadmin? export a dump, and import the dump on the server
Klaus Mergen
@kmergen
Mar 22 2017 13:34
Yes . I mean more what is the best practice with files who are different on both sites like storage images which are also stored in db.
Marc Stampfli
@TheMaaarc
Mar 22 2017 13:36
@kmergen The best practice is to always have the correct version on the dev, prep or prod enviroment and then sync those to your local environment. If you want to get your local stuff on your server, just do what @nadar said and copy the public_html/storage/ folder to your server.
Klaus Mergen
@kmergen
Mar 22 2017 15:29
OK
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 19:59
choose file button on ImageBlock and ImageTextBlock does not opening modal after running composer update
Basil
@nadar
Mar 22 2017 20:00
dev-master?
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:00
yes
Basil
@nadar
Mar 22 2017 20:01
do you have a message in your console drawer or something?
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:01
no
I also clean up asset folder on public_html
Basil
@nadar
Mar 22 2017 20:01
could you run composer update again, as we have changed a lot
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:02
I've just did it recently
Basil
@nadar
Mar 22 2017 20:02
Bildschirmfoto 2017-03-22 um 21.02.37.png
just tested, works fine on latest dev-master
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:03
  • Removing luyadev/luya-core (dev-master 1fc191a)
    • Installing luyadev/luya-core (dev-master b3435ae)Reading C:/Users/Ponco/AppData/Local/Composer/files/luyadev/luya-core/8611dfc77afb2e1c2afbdcb594413150c9aebed7.zip from cache
      Loading from cache Extracting archive
    • Removing luyadev/luya-module-cms (dev-master 6490a16)
    • Installing luyadev/luya-module-cms (dev-master aa50691)Reading C:/Users/Ponco/AppData/Local/Composer/files/luyadev/luya-module-cms/9e9bb9f4c5cdfa12e5cb1afb8dfc05f4886ab7a6.zip fr
      om cache
      Loading from cache Extracting archive
    • Removing luyadev/luya-module-admin (dev-master 31ff31e)
    • Installing luyadev/luya-module-admin (dev-master 74598ac)Reading C:/Users/Ponco/AppData/Local/Composer/files/luyadev/luya-module-admin/2919a3156f14775120f680dda5ee14d2f7d6f1c6.zi
      p from cache
      Loading from cache Extracting archive
Basil
@nadar
Mar 22 2017 20:03
browser?
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:03
chrome
I've tried multiple click but it won't open
Basil
@nadar
Mar 22 2017 20:05
(your packages are the latest, 74598acis the last commit hash)
could you click the cache reload button on the top right of the admin … just to be sure its reloaded :-)
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:06
let me do this again :smile:
not working
Basil
@nadar
Mar 22 2017 20:37
fixed :-)
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:37
:smile: :clap:
Alponso Pratama
@alponso_1st_twitter
Mar 22 2017 20:45
blob
how to clear selection?