Closed 101t closed 9 years ago
If you have any specific problem installing Parsifal, don’t hesitate to contact me
Hello, during the installation of the project, an error occurs. Tell me how to fix it?
Exception happened during processing of request from ('127.0.0.1', 51637) Traceback (most recent call last): File "C:\Python27\lib\SocketServer.py", line 595, in process_request_thread self.finish_request(request, client_address) File "C:\Python27\lib\SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Python27\lib\site-packages\django\core\servers\basehttp.py", line 126, in init super(WSGIRequestHandler, self).init(_args, *_kwargs) File "C:\Python27\lib\SocketServer.py", line 651, in init self.handle() File "C:\Python27\lib\wsgiref\simple_server.py", line 117, in handle if not self.parse_request(): # An error code has been sent, just exit File "C:\Python27\lib\BaseHTTPServer.py", line 281, in parse_request "Bad HTTP/0.9 request type (%r)" % command) File "C:\Python27\lib\BaseHTTPServer.py", line 368, in send_error self.send_response(code, message) File "C:\Python27\lib\BaseHTTPServer.py", line 385, in send_response self.log_request(code) File "C:\Python27\lib\BaseHTTPServer.py", line 422, in log_request self.requestline, str(code), str(size)) File "C:\Python27\lib\site-packages\django\core\servers\basehttp.py", line 138, in log_message msg = "[%s] %s\n" % (self.log_date_time_string(), format % args)
this is awesome :+1: thank you <3 I installed it without problem :)
It is recommended to install the project on a virtual-env
1 Clone the project
2 Install dependencies
The dependencies are on the project root requirements.txt
Note: If you are having problems with Pillow installation please take a look on a detailed installation guide at: http://pillow.readthedocs.org/en/latest/installation.html
3 Create a .env file
As the project uses django-decouple you will need to create a file named .env on the root of the project with three values, as following:
Note: You can use Django methods to create a new SECRET_KEY https://github.com/django/django/blob/master/django/core/management/commands/startproject.py
Note 2: To use sqlite on development environment you can change the DATABASE_URL to something like 'sqlite:////Users/vitorfs/Development/parsifal/db.sqlite3'
4 Syncdb
5 Migrate the models
6 Load initial data
7 Run