New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to run gulp and chmod storage folder properly #167
Comments
So I'd have 3 "before activate" tasks where I Run migrations
Run node
Run gulp
For the storage folder I would test it up as a "Persistent file" on the "Files" tab with a path of For the bootstrap directory you can also add a "before activate" task with
You'd presumably also want a before activate task with
as the first one and an after activate task with
Ignore the invalid tag BTW, that is just so it doesn't appear in the changelog |
Thanks for the help, also,can you please tell me how you are handling .env? if i put server details into .env.example then there is no use of having .env.example at all, |
Ah of course I forgot |
oh ok, i am doing that now... manually adding .env into shared then adding it into persistent files, but i thought you might be using some other flow like adding it into configuration files. i tried configuration files option last time but i think it failed.... thanks for the info... this helps me in creating doc for a laravel app deployment. |
Hmm that is weird, configuration file should work unless I have broken something. I will have to try later |
Hey 0.0.28 seems to be broken its not working for me on fresh install and upgrade i had to move back to 0.0.27 to make it work properly. |
Hmm you're right, odd it is working on my dev machine fine but not on my production machine. Looking at it now |
My issue "just" turned out to be that my storage/* folders weren't writable for some reason, can you check yours are? |
for me, first it has shown storage error, after fixing that it started showing lot of manifest.json errors, one after another. |
Can you try the latest |
That makes no sense, it is there https://github.com/REBELinBLUE/deployer/tree/release/public/build Can you try |
that made it work |
👍 |
running npm install, composer install may caused this problem... |
That is very odd, because obviously I did that as well |
Crap, I see why. I tagged the |
Fixed, apologises for that, |
Hey no problem, |
Honestly, I have never used mail notifications, someone added those as a pull request. I'll see if I can have a play around tomorrow evening, refactoring them as part of the hipchat stuff anyway |
Oh ok... I want you to be aware of it... |
another interesting thing is, before command like
used to get executed, now its displaying them as plain text , not sure whether its executing them or not. |
Uh, nothing has changed in that. Do you have In debug mode I use |
Oh nice...may be thats the reason, yes i do have APP_DEBUG=true |
You may need to run |
hmm, its still displaying those commands after making debug false and running above command but that does no hard so we can leave it. I have few other questions/suggestion beside hipchat notifications
|
The first one is definitely on the list, I just haven't had a chance to look at the github/bitbucket/gitlab etc APIs yet. The Deployer plugin for PHPCI currently does this. The second one I am still not 100% sure about yet, I want to do it at some point but for me it is quite low priority so I haven't even began to think about it. Of course I am always open to pull requests ;) |
Thanks for that. i really love this project so i will see if my skill set allows me to send PR |
Hello,
i know i am bugging you for whole day... sorry :( but i am trying to do it all the ways possible and spent hours but not able to figure out.
I want to deploy my laravel project where, i want to
can you please point me in right direction.
thanks
The text was updated successfully, but these errors were encountered: