How to gain access to Digital Ocean account with TFA enabled but smartphone uninstalled? - digital-ocean

The only option in DigitalOcean login page is Enter backup code.. which I didn't saved.
The hard thing is, trying to contact Digital Ocean support require me to login. Which is the whole problem.
That's why I ask this here. Or, am I totally shut here?

You should contact Digital Ocean support here: https://www.digitalocean.com/company/contact/

Related

Digital ocean droplet

This question is aimed at anyone who has used digital ocean to set up a Ghost droplet
Yesterday I set up a digital ocean ghost droplet, everything went well, however when I used ssh#root to complete the setup, I forgot to add my email to issue the SSL certificate and so the installation failed.
I then deleted the droplet and created a new one, only this time round it says to me that the IP address for me but this IP address is not working.
Am i doing something wrong, can you help me?
Thanks
Once you’ve selected a name for your droplet (this can be anything), Digital Ocean will take a couple minutes to create the droplet. Once the droplet is created, you should see an IP address (for example: 134.209.259.121).
If you navigate to that IP in your browser,{Copy ip address and paste it in browser} you’ll see the below view of the Ghost Installation page, which means the droplet is set up and hosted by Digital Ocean at that IP address. If you don’t see this page, the droplet has not been set up properly. If you do see this page, you’ve set up your droplet and can now connect it to a domain.

What is necessary to make the deploy of a Django Application in an internal network?

I'm a student, making a django project in school for a few months, since last year, using Django Rest Framework and React. A project for a hospital, to manage patients, appointments, medicines, etc. I have asked some questions here a few times on how to do a few things in Django and it was really helpful.
I've presented the system for the people in the hospital, they liked it, there are some adjustments to do yet, going to fix it this weekend. I'm using python anywhere free account to host it. So now I have a few doubts, this month I need to make the deploy of this project in the hospital, they want to host it there for production. They have scheduled a meeting with me, my teacher who is the one guiding me and responsible for this project, and the director of IT of the hospital, the director want me to explain for him what he will need to host the project in the hospital. In my inexperienced head I thought the only thing he will need there is to install python 3.6 and MySQL on their servers. My teacher asked me to make a research of what we are going to need to make the deploy there, before the talk that is scheduled for next week with the director of IT.
So here I'm, I would like to ask you guys, any tips you have, any text I could read about what I will need to deploy a Django application in the hospital network?
One fact that can be useful, when it get in production, there will be at max 7 people online at same time using the system. Django 2.1, python 3.6, rest framework, reactjs, mysql.
Most probably there will be a windows machine in that case you can simply use the inbuilt IIS and configure the Django on IIS and open few ports on the firewall, it's the easiest i belive.
If IIS is not there you can enable it from the windows features like so
enter image description here
and follow this configuration for the starters
https://learn.microsoft.com/en-us/visualstudio/python/configure-web-apps-for-iis-windows?view=vs-2019

Django on Digital Ocean

So I am beginner Django Developer and have been learning by developing local apps. I am looking to finally deploy something so people can use it. I have been looking around at various hosting providers and I am wondering what it's like using Digital Ocean for Django hosting. Specifically what exactly is involved/required with managing a Django app on Digital Ocean. Hostgator, which is another host I've been looking at, does not offer any "one-click" install for stuff like Nginx or anything else which I noticed Digital Ocean does have, so I would have to install that that as well as anything else I'd need myself. I guess my question is after that one click install what is involved with managing a Django app on Digital Ocean? Do I have to learn how to do a ton of other stuff regarding managing a server and dealing with Nginx (I would have to do that on HostGator) or does that One-click install for Django handle all that? Also other than Django, are there any skills that I have to learn in order to be able to do this?
Digital Ocean is more than a hosting service, it's a development platform. Digital Ocean works around the element of "droplets", where each droplet is a virtual machine typically running a UNIX system. Basically if you are looking for a service where you can both host a website and do some development, Digital Ocean may be the way to go, but it is not free. But yes, you would have to configure everything yourself with regards to setting-up Django, proxies, and other network-related tasks.
If you are looking for an easier, alternative solution, you might want to take a look at Django on Heroku.
As far as I know, there are no one-click solutions for Django. There is an official tutorial, though, which is where I would start, along with a quick read in the Django docs.
My experience hosting small Django apps on DO has generally been good. DO is very stable nowadays with no noticeable downtime (unless you must guarantee HA to your users, which I don't).
I have been using Digital Ocean/DO for my Django deployment last 6 months and have a great experience.
I use Django On Click Django 1.8.7 in Ubuntu 16.04 Image for all my website development.
Do provides extensive tutorials/documentations and very developer/tinker friendly. I was able to config my Do box Nginx to host 4 different websites on one single box and even manage to run a Ethereum node on it.
I wrote this tutorial on How to Deploy Multiple Websites on 1 single DO Droplets - Tutorial Link

What are the steps to deploy django project that warks localy to production

I am sorry for asking such a wide question. But i have built website with django that works locally and now i need to deploy it in production. I wanted to try to do it with first with free hosting like Heroku but it caused me with problems with my postgresql, so i decided to to post it in production and spent month for final testing in "real world". Can someone give me just steps that will lead me to that goal. this is my first website and i am really confused with the variety of options that i can use to do it. I found some articles but they were outdated mostly and most of them proposed different solutions that confused me very badly. Would really appreciate just a simple list of steps for deployment, like which hosting to use for starting, how will it work with local domain if i get it country in Central Asia. Will that cause my website work slower or not? Will be grateful for anyone's response and suggestion, cause this deployment process confused me so badly, that i can't solve it without help from experienced programmer
Deploying django app in production on your local system is similar to deploying it on VPS
You can use this link by Django project or this link by digital ocean to deploy your dango app on your local system. I would suggest you to use digital ocean link.
You can use this link by heroku devcenter or use this link by Marina Mele to deploy it on heroku
If you are primarily looking to test the app, then pythonanywhere is a good option for you. With its free account it provides you 500mb of disk usage, a domain name like "yourapp.pythonanywhere.com".
If your app has more requirements, then you can check out their paid plans.
How will it work with local domain if i get it country in Central Asia. Will that cause my website work slower or not?
The response of your website does not depend on the domain name you buy, it is just to route website users to your website using easy to use/remember address. The response of your website depends more on the performance of VPS or whatever that servers your webapp.
This is my first website and i am really confused with the variety of options that i can use to do it.
You have many cost efficient options like using free tier of Amazon Web Services. But as you have mentioned that this is your first website, you may find it difficult to use it, since aws is largest provider of Platform as a Service, and has lots of things in store to offer.
At this stage you may find using Digital Ocean very easy. In my experience, I have found that digital ocean is more user friendly than AWS.

Tricking WURFL mobile detection

I'm trying to test the mobile version of a webpage on my desktop. It uses WURFL for mobile detection, which I thought could be tricked by changing my user agent.
This has no impact on what page is displayed to me..
Any ideas how I can trick the page into showing me the mobile view?
Depending on the caching strategy that the website is using, you may need to clear your cookies in order to test both versions of the site. Spoofing your User Agent is the correct method in order to "trick" the website into serving the mobile version.
In addition to what Elliot said, the fact that the mobile version of your page is not shown may depend on how you implemented the routing of your website, so check that, after the device has been detected, the request is properly forwarded to the mobile version.