NMY Posted May 26, 2017 Report Share Posted May 26, 2017 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: Quote Link to comment Share on other sites More sharing options...
aaxc Posted May 26, 2017 Report Share Posted May 26, 2017 Git? Composer? Mēs personīgi uzturam gitā visus projektus, kur master branch ir stable relase branch. Tajā arī iemerdžo visas izmaiņas, notestē un ja vis ok, tad checkout uz prod. Quote Link to comment Share on other sites More sharing options...
NMY Posted May 26, 2017 Author Report Share Posted May 26, 2017 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? (: Quote Link to comment Share on other sites More sharing options...
aaxc Posted May 26, 2017 Report Share Posted May 26, 2017 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. Quote Link to comment Share on other sites More sharing options...
NMY Posted May 26, 2017 Author Report Share Posted May 26, 2017 git merge dev pievienos js/less u.c. library folderus masteram? man to nevajag! (: uz proda nav jābūt lib/js/less folderiem Quote Link to comment Share on other sites More sharing options...
aaxc Posted May 26, 2017 Report Share Posted May 26, 2017 gitignore? Quote Link to comment Share on other sites More sharing options...
F3llony Posted May 26, 2017 Report Share Posted May 26, 2017 http://www.fabfile.org/ http://docs.fabfile.org/en/1.13/api/contrib/project.html https://github.com/Addvilz/hemp Uzraksti mazu deploy skriptu. Clone master iekš /tmp, sainstalē dependencies, sapako web failus nu un visus citus darbus. Tad izdzēs lieko un push uz production. Quote Link to comment Share on other sites More sharing options...
Pieduriens Posted May 28, 2017 Report Share Posted May 28, 2017 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ā. Quote Link to comment Share on other sites More sharing options...
F3llony Posted May 28, 2017 Report Share Posted May 28, 2017 Deployer ir masīvs mēsls. Un dev toolkitam produkcijā nav vispār ko meklēt. Quote Link to comment Share on other sites More sharing options...
Kasspars Posted June 1, 2017 Report Share Posted June 1, 2017 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? Quote Link to comment Share on other sites More sharing options...
Pieduriens Posted June 26, 2017 Report Share Posted June 26, 2017 On 6/1/2017 at 8:49 AM, Kasspars said: Tev tiešām uz produkcijas serveriem stāv gulp un composer? Jā, stāv, un neko sliktu tur neredzu. Quote Link to comment Share on other sites More sharing options...
Maria Kristen Posted October 11 Report Share Posted October 11 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.