Damus
leanderlindahl profile picture
leanderlindahl
@leanderlindahl
Hello dear friends!

I was wondering what methods people are using to have production data or a realistic sample of production data in their dev environment. Does one do a search and replace in the DB of all occurences of the URL for the production site? Does anyone have a good script one could get inspiration from? That would be super awesome because I'm a bit unsure how I should go about this.
3
Michael 🇺🇦 · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 I'm coding directly on my production machine.
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 Same as Michael, you can use a test account on your dev server and interact with it from another production ActivityPub instance for example.
leanderlindahl · 2w
Thanks for replying guys, but I don't get it. Setting up an account on my local dev installl and then viewing that from a production site? If one wants to work on the CSS and Javascript one would want to have all the code on ones local machine. One doesn't want to live code on the server. Is no-on...