[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Hi /g/...

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 33
Thread images: 5

File: py-dj.jpg (40KB, 1280x720px) Image search: [Google]
py-dj.jpg
40KB, 1280x720px
I don't know much about the web stuff but I'm trying to make a website and I know there is a lot of web people here.

What is the quickest/easiest way to go from a Django project on my hdd to having the project deployed as a website? Does there exist such a route?

atm I can try a local website host which might have limited support in the way of doing stuff, or I have seen people using DigitalOcean.com and a bunch of stuff that looks easier.
>>
>>58039788
>I don't know much about the web stuff
Don't use Django then. Just install Wordpress and fuck around with it. If you want to use Django then respect it and learn "web stuff".
>>
bump im looking to deploy a python app using gunicorn/gevent??? and ngingx and shit but its inside a virtualenv and i want to access wsgi functions such as cron jobs because i have concerns about it being thread safe and shit
>>
>>58039846
>gunicorn
What the fuck are you doing, nigger? Just make a new screen and use
manage.py run server


Gunicorn is JUST tier.
>>
>>58039862
eh r u retarded? gunicorn can fork multiple processes and keep the same underlying port for all of them. its like a load balancer
>>
>>58039862
i thought gevent is just tier and gunicorn is kay
>>
only losers make their own cms, framework or not. you only do this if you know you don't have any content or any real business ideas, so you forever prolong the site in creation phase and dump months into it, not having published a thing, and just say "ehhhh" and you give up.

wordpress, joomla, drupal. they are perfectly fine if you update them.

>nooo u dont understand i need to spend 3 years doing this because I don't really have any ideas nooo
>>
>>58039862
typical developer, kys
>>
>>58039833
I already have the Django stuff in the bag. I can run it locally and it's sweet.

I am trying to learn "web stuff" by reaching out to the experts in the /g/ community.
>>
>>58039907
>experts
>in the /g/ community.
You're very lost son.
>>
>>58039967
The first post >>58039833 seemed sufficiently snobby as to be written by an expert, although actual knowledge was not forthcoming.
>>
>>58039984
I seriously can't understand what you said.
>>
>>58039788
>What is the quickest/easiest way to go from a Django project on my hdd to having the project deployed as a website?

Heroku... if you know git. If you don't know git then ou just have to copy paste from the tutorial. (and then learn git, there are free courses at udacity for it)
>>
File: 059 - QMRVa.jpg (104KB, 588x777px) Image search: [Google]
059 - QMRVa.jpg
104KB, 588x777px
>>58039788

Try openshift. they used to have free hosting (and specifically a setup for Django).

If you have your own server, then the classic Apache + mod_wsgi is the easiest and most documented setup.

Also, RTFM.

https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/
>>
>>58039984
Idiots like to pretend to be experts by criticizing people and technologies. It's the best way to seem to be an expert, it's how charlatans manage to sell snake oil.

For example a real doctor would say "I don't know why this happened, all tests show that it should have worked. But people are different, there is this other pill we could try."

While a charlatan would say "Pfft... Why are you going to doctors? They just want to sell pills, the reasons why you have those problems is because you have lots of toxins in your body that is blocking your energies"

and people fall for the charlatan because he criticizes doctors and therefore "seem to know what he is talking about"
>>
>>58040206
heroku is simplest. It's literally just creating a git repository of your django project locally and doing "git push" and then it's up.

Heroku is also free at the lowest tier.
>>
File: 1332490002332.jpg (584KB, 740x740px) Image search: [Google]
1332490002332.jpg
584KB, 740x740px
>>58040230
>Apache
>>
>>58040248
>>58040206
this looks like the ticket. and there are a few guides on doing exactly what i want to do, too.

out of curiosity, how would heroku compare to digital ocean?

>>58040237
yeah that was my roundabout way of calling him a dick. god forbid someone uses the sacred django framework without first doing penance. i respect web stuff but i just find it not as interesting as other /g/ things.
>>
File: 002 - uBt9mRA.jpg (35KB, 288x604px) Image search: [Google]
002 - uBt9mRA.jpg
35KB, 288x604px
>>58040387
>Ignoring decades of development and features
>>
>>58040649
>ignoring nginx
>>
File: 119 - 8dKLo.gif (1MB, 385x337px) Image search: [Google]
119 - 8dKLo.gif
1MB, 385x337px
>>58041332
>Implying ngnix is even close in terms of feature set to Apache
>muh asynchronous request handling
>>
>>58039788
>or I have seen people using DigitalOcean.com and a bunch of stuff that looks easier.
buy a $5 VPS from Digitalocean or other similar providers

buy a domain, point it at the IP of your VPS

learn the linux command line

put your website on the server and run it, put nginx or whatever in front of it (I don't know anything about running Django)

keep your server up to date

ez
>>
>>58041460
Just compile it in senpai :^)
>>
>>58039788
I had same problems while working on my simple 4chan inspired website.
Used digitalocean.
they give you 10$ free money once you sign up and add your card. Quite simple and intuitive.
>>
>>58039846
I used uwsgi with nginx. It has many configuration options. and apparently nginx talks with uwsgi directly so makes it faster
>>
>>58039788
>learn linux
>learn fabric
deploy like a king
>>
>>58039895
all of them are crap
>>
>>58040434
>how would heroku compare to digital ocean?

Never had experience with digital ocean. Heroku is easier, but also is less customizable. For example saving files and so on. If you want to save files then it's easier to use something like Amazon web services or AWS S3 service.

You might try to do some workarounds on Heroku, but it's not built for that. It's built for easy deployment and easy to deal with databases and that sort of thing.
>>
>>58039895
>wordpress
Bloated
>drupal
Super bloated
>joomla
Bloat Bloat McBloaty Bloat

No thanks.
>>
>>58039895
This is what happens when I do "game development". It becomes "game engine development".
>>
>>58043557
>literally nothing but le bloat maymay
>timesinking before you even make the site
confirmed never gonna make anything
>>
>>58040248
This.

>>58039895
Zen master way.
>>
Does Python have a framework like the PHP's Laravel+Homestead?
Thread posts: 33
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.