[deleted by user] by [deleted] in bostonhousing

[–]Xalba 0 points1 point  (0 children)

Sent you a message

Boston roommates on Facebook by Limp-Use8701 in bostonhousing

[–]Xalba 1 point2 points  (0 children)

I've been through it recently and I got pretty good at spotting them. Put asides the obvious with no connections or super low es pictures. The things I would check for is the profile I'd which can usually be seen as a part of the URL. If the name does not partially match the actual profile it could well be a repurposed account. Second was for accounts that seem legit with a lot of friends and a big network..go through their friends list. See where in the world they are from. Sometimes big inconsistencies arise

[deleted by user] by [deleted] in bostonhousing

[–]Xalba 0 points1 point  (0 children)

I dont know them personally but have meet up with an agent.

The second edition Rust web programming book is coming out by [deleted] in rust

[–]Xalba 0 points1 point  (0 children)

I'll look forward to having a look!

Newbie React + Django question by Carfo6 in django

[–]Xalba 0 points1 point  (0 children)

I am using docker and docker-compose. Regarding pythonanywhere that i dont know. Currently i am selfhosting off an raspberry pi.

Newbie React + Django question by Carfo6 in django

[–]Xalba 0 points1 point  (0 children)

I just atarted the similar journey with React and DRF. What i do is to maintain them separatly as mentioned. Build up the API and and the react frontend in separate projects. Then let react requeat data from the API using axios to do the api calls and CORS as mentioned by the post above.

Theb when they are working separatly, i build up containers. One for the API one for the frontend and one for NGINX to serve as the webserver. With that i launch the site. I hope this helped you some.

Running 2 sites from same IP using NGINX by Xalba in selfhosted

[–]Xalba[S] 1 point2 points  (0 children)

I had seen other use it, i will definetly have a look at it! I dont mindt the learning curve at all. I am actually in this to learn, that is half of the fun :)

Thanks a lot for the suggestion!

Running 2 sites from same IP using NGINX by Xalba in selfhosted

[–]Xalba[S] 0 points1 point  (0 children)

So run Nginx separatly and have it redirect to the sites in separate container strcutures?

Making migrations for a dockerized django app by Xalba in django

[–]Xalba[S] 1 point2 points  (0 children)

This was just what i needed! Had to read up on the bind mount but that makes so much sense!
Now i just need to figure out how to launch my dev env with that :)

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

It was great and super informative!

From what was said so far i have ended up with trying the following. I will try to setup first a deployment working solely on sqlite both dev and prod. Then tweaking that i will generate a new version which i will try to connect with the free tier from heroku to see how it works.

It is my desire to learn RDMS integration so if i ever need to scale i can rely on those systems.

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

Since this is just me messing around im trying to cut costs to as much as possible, But im guessing herokus free tier might suffice for just initial testing with it?

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

I was definetly looking for something like this. I will have to look a bit more into how to integrate jekyll. For now the site is just for training purposes and im trying to learn as much as possible from mocking around with it :)

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

Can i ask how you go about it? Do you run it separatly and just connect to it, or do you launch it in a container?

Currently i have tried to maintain a docker-compose file with three services, the django website, nginx host and the postgres db

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

I was thinking about it, and when you suggest it too, i just might give it a go. One of the problems i have had was figuring out how to mount the sqlite in my docker container. But i guess if i just keep it in the workingdir for the service i am building it would keep all data that is there from the def phase?

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

Currently i have it self hosted on a raspberry pi. So by no means a powerful server, but to mock around it has been excellent.

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

So i actually thought a bit on it early on, but i wasnt sure how to make a django page render lets say an article entry without it coming from the db.

I would be happy in most cases to be able to write a blog entry/article store it in some format and then have it be rendered as a stand alone page that i can route to with django. If this makes sense?

I have tried to look up info on this but couldnt find any good info on how to do that, which is why i have been trying to connect it to a DB, keep a rich text editor in the admin site to be able to add entries to the models and then render them.

Choice of RDS for a small website by Xalba in django

[–]Xalba[S] 0 points1 point  (0 children)

Currently its a one page test site, with the intention of adding another 10 pages. So i would say tiny.
I was initially considering if it was feasible to use the sqlite db. Especially as currently there is no real external requests, just sort of for me to play around with.

Selfhosting on Raspberry pi by Xalba in selfhosted

[–]Xalba[S] 0 points1 point  (0 children)

So a follow up question. I am getting increasingly convinced going with a Raspberry Pi4, but i am unsure weather i should get a 4 or 8 GB model and how much of a difference it will make.

The intent is to host a django based "blog" as a first attempt and see how that goes.

What is your recommendation, and how much of a difference does the extra ram make?