Update README.md
This commit is contained in:
		
							parent
							
								
									650df5fa55
								
							
						
					
					
						commit
						aa04d5b282
					
				
							
								
								
									
										50
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								README.md
									
									
									
									
									
								
							@ -0,0 +1,50 @@
 | 
			
		||||
# Setup
 | 
			
		||||
 | 
			
		||||
_Works on my machine..._
 | 
			
		||||
 | 
			
		||||
**uname -a**
 | 
			
		||||
 | 
			
		||||
> Linux marc-hp 5.15.0-70-generic #77-Ubuntu SMP Tue Mar 21 14:02:37 UTC 2023 x86*64 x86_64 x86_64 GNU/Linux*
 | 
			
		||||
 | 
			
		||||
**python3 --version**
 | 
			
		||||
 | 
			
		||||
> Python 3.10.6
 | 
			
		||||
 | 
			
		||||
**pip --version**
 | 
			
		||||
 | 
			
		||||
> pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
 | 
			
		||||
 | 
			
		||||
## Environment
 | 
			
		||||
 | 
			
		||||
### Activate
 | 
			
		||||
 | 
			
		||||
1. `cd dashboardX`
 | 
			
		||||
1. `python3 -m venv env`
 | 
			
		||||
1. `source env/bin/activate`
 | 
			
		||||
1. `pip install -r requirements.txt`
 | 
			
		||||
 | 
			
		||||
### Deactivate
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
deactivate
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Run
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
python3 main.py
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Packages
 | 
			
		||||
 | 
			
		||||
### Add new Package
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
pip install <package-name>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Update requirements.txt
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
pip freeze > requirements.txt
 | 
			
		||||
```
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user