Update hacking docs
This commit is contained in:
		
					parent
					
						
							
								b877ab13b3
							
						
					
				
			
			
				commit
				
					
						26d5c91625
					
				
			
		
					 1 changed files with 19 additions and 11 deletions
				
			
		|  | @ -1,17 +1,25 @@ | ||||||
| Hacking | Hacking | ||||||
| ======= | ======= | ||||||
| How to hack on the code. | Using uncloud in hacking (aka development) mode. | ||||||
| 
 | 
 | ||||||
| [ to be done by Balazs: |  | ||||||
| 
 | 
 | ||||||
| * make nice | Get the code | ||||||
| * indent with shell script mode | ------------ | ||||||
|  | .. code-block:: sh | ||||||
|  |     :linenos: | ||||||
| 
 | 
 | ||||||
| ] |      git clone https://code.ungleich.ch/uncloud/uncloud.git | ||||||
| 
 | 
 | ||||||
| * git clone the repo | 
 | ||||||
| * cd to the repo | 
 | ||||||
| * Setup your venv: python -m venv venv | Install python requirements | ||||||
| * . ./venv/bin/activate # you need the leading dot for sourcing! | --------------------------- | ||||||
| * Run ./bin/ucloud-run-reinstall - it should print you an error | You need to have python3 installed. | ||||||
|   message on how to use ucloud | 
 | ||||||
|  | .. code-block:: sh | ||||||
|  |     :linenos: | ||||||
|  | 
 | ||||||
|  |     cd uncloud! | ||||||
|  |     python -m venv venv | ||||||
|  |     . ./venv/bin/activate | ||||||
|  |     ./bin/uncloud-run-reinstall | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue