Answer the question
In order to leave comments, you need to log in
How to make a demo site?
Hello.
There is an application on rails 4.2 It is
necessary to make a demo site with this application. So that people can see and use all the features.
I want to know how it is customary to organize such sites.
As I see it. In the application, I create separate settings for the demo environment (base name, for example).
I deploy the application on a separate server and fill the demo database with random data with a script.
At this stage all is well. The question is how to prohibit any record in the database as painlessly as possible? Is there some "magic" function to do this? smile Or to forbid record at base level?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Sometimes I saw an option with an automatic reset of everything and everything, for example, every hour.
Now I would recommend building a Docker container for the same purpose, and at any time run as many instances as needed and drop them when needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question