TechnionYP5779 / SimuMole

Computer simulation method that displays the physical movements of atoms and molecules.
5 stars 0 forks source link

Create functions to upload a pdb file to a server #43

Closed HadadIdan closed 5 years ago

HadadIdan commented 5 years ago

Using python.

HadadIdan commented 5 years ago

Update: I have tried several directions:

Both of them didn't work as expected, and proved to make the work harder than it should.

After consulting with @EyalFaygen , I have decided to check weather Django has an easier way to implement file uploading, since the web application is going to run on that framework anyway.

Currently working though Django tutorials (as this information will be useful anyway), will update.

EyalFaygen commented 5 years ago

we may need to rethink this,maybe we should first try doing it in-place before moving the process elsewhere to fit our time goals (we need to present a POC on May 1st if i remember correctly).

@HadadIdan what do you think?

HadadIdan commented 5 years ago

we may need to rethink this,maybe we should first try doing it in-place before moving the process elsewhere to fit our time goals (we need to present a POC on May 1st if i remember correctly).

@HadadIdan what do you think?

One of the problems we encountered on our previous project was integration. I believe that if it is possible, we should use the same platform (in this case, Django) to do the upload work, instead of using other techniques. In addition, we have to work with Django anyway, so this knowledge won't hurt.

I already have several tutorials regarding implementing file uploads in Django, I have yet to understand how to implement it since I'm not familiar with the platform. Here are few of them: https://docs.djangoproject.com/en/2.2/topics/http/file-uploads/ https://simpleisbetterthancomplex.com/tutorial/2016/08/01/how-to-upload-files-with-django.html https://gearheart.io/blog/how-to-upload-files-with-django/ https://www.codepool.biz/django-upload-file.html

HadadIdan commented 5 years ago

Closed, continued on #64