Jump to content
php.lv forumi

Servera koda update


Recommended Posts

sveiki,

viens devs atstāja BASH skriptu ar kuru šams veido arhīvu, sūta viņu uz PROD un tālāk remove+installs.

esmu aizdomājies vai joprojām tas ir normālākais veids kā publicēt kodu uz PROD? Ja tiek izmantots GRUNT un ne visiem failiem ir jānonāk PROD.

:feeling thoughtful:

Link to comment
Share on other sites

ir gan git, gan composer.

sanāk ir jāuztur divi branchi, kur 1 branch ir development ar visu kodu un library stuff, bet master branch tīri web stuff nepieciešamais un binary? nebūs gemors? (:

Link to comment
Share on other sites

Branchi ir kudish vairāk. Master, Dev un tad uzdevumu branchi, kuros notiek īsta izsrāde. Pēc tam tos branchos mergo iekšā dev, pārbauda un tad tikai tālāk uz master.

Protams, ja tu esi viens izstrādātājs, tad tev  var pietik ar diviem branchiem - master un dev. Laigan es tik un tā ieteiktu uzdevumu branchus veidot. Vieglāk nesaputroties, ja jāsāk lēkāt starp uzdevumiem.

Link to comment
Share on other sites

Noteikti vismaz master/dev braņči. Gitam, vismaz bitbucket, github ir web hooks, kurus vari izpildīt, piemēram, pie push. Nopušo uz masteri -> Webhooks notrigero tavu produkciju ->  Produkcija zin, ka jātaisa git pull, composer update/install, gulp, etc..

Komplicētākam projektam vari paskatīties https://deployer.org/ virzienā.

 

 

Link to comment
Share on other sites

On 5/28/2017 at 0:43 PM, Pieduriens said:

Noteikti vismaz master/dev braņči. Gitam, vismaz bitbucket, github ir web hooks, kurus vari izpildīt, piemēram, pie push. Nopušo uz masteri -> Webhooks notrigero tavu produkciju ->  Produkcija zin, ka jātaisa git pull, composer update/install, gulp, etc..

Komplicētākam projektam vari paskatīties https://deployer.org/ virzienā.

 

 

Tev tiešām uz produkcijas serveriem stāv gulp un composer?

Link to comment
Share on other sites

  • 4 weeks later...
  • 7 years later...

Hyde Park is known for its stylish and distinctive clothing, offering a range of apparel that caters to modern fashion enthusiasts. Whether you're looking for Hyde Park shirts, a trendy Hyde Park t-shirt, or other pieces from the men's Hyde Park clothing line, this brand has something for everyone. The Hyde Park shirt collection, including the popular Hyde Park shirt you aren't invited, showcases bold designs and quality craftsmanship. Hyde Park clothing stands out in the fashion scene, making Hyde Park clothes a must-have in your wardrobe, easily found in various Hyde Park clothing shops.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...