Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Raspberry Pi
(view source)
Revision as of 21:38, 25 March 2015
400 bytes added
,
21:38, 25 March 2015
→Git server
Line 51:
Line 51:
3.2 Edit /etc/fstab, add line:
3.2 Edit /etc/fstab, add line:
<nowiki>/dev/sda1 /home/pi/usbdrv vfat uid=pi,gid=pi,umask=0022,sync,auto,nosuid,rw,nouser 0 0</nowiki>
<nowiki>/dev/sda1 /home/pi/usbdrv vfat uid=pi,gid=pi,umask=0022,sync,auto,nosuid,rw,nouser 0 0</nowiki>
−
note: /dev/sda1 should correspond to usb drive you want to map, pi = user that will own the drieve
+
note: /dev/sda1 should correspond to usb drive you want to map, pi = user that will own the drieve
<br />
+
4. reboot Raspberry and check if the usb mounts correctly with lsblk<br />
+
5. For each repository:<br />
+
5.1 create a folder and cd into it.<br />
+
5.2 git init --bare<br />
+
5.3 add origin to your local git repository. Example:
+
<nowiki>git remote add pi pi@10.0.1.64:/home/pi/usbdrv/justdiedbot.git</nowiki>
+
5.4 push your repository into raspberry. Example:
+
<nowiki>git push pi master</nowiki>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version