×ðÁú¿­Ê±¹ÙÍøµÇ¼

macÉÏÔõôװÖÃgitlab£¿°ì·¨Ïê½â

macgitlab ÊÇÒ»¿îÔ´´úÂëÖÎÀíƽ̨£¬ÊÇ gitlab µÄÒ»¸ö¿ªÔ´°æ±¾¡£ËüÔÊÐíÍŶÓЭ×÷À´ÖÎÀíºÍ¿ª·¢ÏîÄ¿£¬²¢¿ÉÒÔÔÚÒ»¸öµØ·½´æ´¢£¬ÖÎÀíºÍä¯ÀÀÔ´´úÂë¡£

×°Öà MacGitlab ÐèҪעÖØÒÔϼ¸¸ö°ì·¨£º

×°ÖÃ Homebrew

Homebrew ÊÇ Mac ÉϵÄÈí¼þ°ü¹ÜÀíÆ÷£¬ÎÒÃÇ¿ÉÒÔͨ¹ýËüÀ´Àû±ãµÄ×°Öà MacGitlab¡£ÎÒÃÇÏÈÔÚÏÂÁîÐÐÖÐÊäÈëÒÔÏÂÏÂÁװÖà Homebrew£º

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

µÇ¼ºó¸´ÖÆ

×°ÖÃÒÀÀµÏî

MacGitlab ÒÀÀµÓÚһЩÈí¼þ°ü£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÒÔÏÂÏÂÁîÀ´×°ÖÃÕâЩÒÀÀµÏ

$ brew install redis postgresql imagemagick

µÇ¼ºó¸´ÖÆ

×°ÖÃ MacGitlab

ÏÖÔÚÎÒÃÇ¿ÉÒÔ×°Öà MacGitlab ÁË£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÒÔÏÂÏÂÁîÀ´×°Öãº

$ brew install --HEAD gitlab

µÇ¼ºó¸´ÖÆ

Õâ¸öÀú³Ì¿ÉÄÜÐèÒª¼¸·ÖÖӲŻªÍê³É¡£

ÉèÖÃ MacGitlab

×°ÖÃÍê³Éºó£¬ÎÒÃÇÐèÒª¾ÙÐÐһЩÉèÖá£Ê×ÏÈ£¬ÎÒÃÇÐèÒªÆô¶¯ postgresql ºÍ redis ЧÀÍÆ÷¡£ÎÒÃÇ¿ÉÒÔͨ¹ýÒÔÏÂÏÂÁîÀ´Æô¶¯£º

$ brew services start postgresql
$ brew services start redis

µÇ¼ºó¸´ÖÆ

Ö®ºó£¬ÎÒÃÇÐèÒª½« MacGitlab µÄÉèÖøüе½Êý¾Ý¿âÖС£ÎÒÃÇ¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÀ´¸üÐÂÉèÖãº

$ sudo gitlab-ctl reconfigure

µÇ¼ºó¸´ÖÆ

Õâ¸öÀú³Ì¿ÉÄÜÐèÒªÒ»¶Îʱ¼ä²Å»ªÍê³É£¬È¡¾öÓÚÄúµÄ»úеÐÔÄÜ¡£

Æô¶¯ MacGitlab

ÏÖÔÚ£¬ÎÒÃÇ¿ÉÒÔÆô¶¯ MacGitlab ÁË£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÒÔÏÂÏÂÁîÀ´Æô¶¯£º

$ sudo gitlab-ctl start

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁÆô¶¯ËùÓбØÐèµÄ MacGitlab ×é¼þ£¬°üÀ¨ÍøÕ¾£¬ÓʼþºÍºǫ́ʹÃü¡£

»á¼û MacGitlab

ÏÖÔÚ£¬ÎÒÃÇ¿ÉÒÔÔÚä¯ÀÀÆ÷Öлá¼û MacGitlab ÁË¡£Ä¬ÈÏÇéÐÎÏ£¬MacGitlab ÔËÐÐÔÚµ±ÌïÖ÷»úµÄ¶Ë¿ÚºÅ 8080 ÉÏ£¬µØµãΪ http://localhost:8080 ¡£ÎÒÃÇ¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐÊäÈëÕâ¸öµØµãÀ´»á¼û MacGitlab¡£

ÉèÖÃÖÎÀíÔ±ÕË»§

µÚÒ»´Î»á¼û MacGitlab ʱ£¬ÐèÒªÉèÖÃÖÎÀíÔ±ÕË»§¡£ÄúÐèÒª½¨ÉèÒ»¸öÖÎÀíÔ±ÕË»§²¢ÉèÖÃÃÜÂë¡£Íê³ÉÕâЩ²Ù×÷ºó£¬Äú¾Í¿ÉÒÔ×îÏÈʹÓà MacGitlab À´ÖÎÀíÄúµÄ´úÂëÁË¡£

×ܽ᣺

ÒÔÉϾÍÊÇÔÚ Mac ÉÏ×°Öà MacGitlab µÄ°ì·¨¡£MacGitlab ÊÇÒ»¿îºÜÊÇÇ¿Ê¢µÄÔ´´úÂëÖÎÀí¹¤¾ß£¬ËüÔÊÐíÍŶÓЭ×÷À´ÖÎÀíºÍ¿ª·¢ÏîÄ¿£¬²¢¿ÉÒÔÔÚÒ»¸öµØ·½´æ´¢£¬ÖÎÀíºÍä¯ÀÀÔ´´úÂ롣ϣÍûÕâƪÎÄÕÂÄܹ»×ÊÖúÄú¿ìËÙÉÏÊÖ MacGitlab£¬ÈÃÄú¿ÉÒÔ¸üºÃµÄÖÎÀíºÍ¿ª·¢ÄúµÄ´úÂë¡£

ÒÔÉϾÍÊÇmacÉÏÔõôװÖÃgitlab£¿°ì·¨Ïê½âµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ