Move django_project -> django/basic/
This commit is contained in:
		
							parent
							
								
									65ecc6f6e5
								
							
						
					
					
						commit
						0cbeea2103
					
				
					 11 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								codetemplates/django/basic/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								codetemplates/django/basic/Makefile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
MANAGEPY=honcho run -- env/bin/python manage.py
 | 
			
		||||
 | 
			
		||||
update:
 | 
			
		||||
	virtualenv env
 | 
			
		||||
	env/bin/pip install -r requirements.txt
 | 
			
		||||
	$(MANAGEPY) syncdb
 | 
			
		||||
	
 | 
			
		||||
migrate:
 | 
			
		||||
	$(MANAGEPY) migrate
 | 
			
		||||
 | 
			
		||||
run: update
 | 
			
		||||
	$(MANAGEPY) runserver 0.0.0.0:8000
 | 
			
		||||
 | 
			
		||||
shell: update
 | 
			
		||||
	$(MANAGEPY) shell
 | 
			
		||||
 | 
			
		||||
deploy:
 | 
			
		||||
	git push heroku master
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue