Cloning everything except database

Hi,

I want to allow someone to clone my app, but I don’t want to allow them to clone the data in my data tables. Mainly because I have lots of rows in my table and the other person cannot clone it Error: database exceeds limit. Is there a way that I can allow the other to clone just the app and the data structure but not the data itself?

Thanks,

You could create a clone of your own, remove the rows of data, and share that app.

There is even a delete_all_rows() method .

1 Like

Hi @alcampopiano, the issue is that I cannot even clone it. Because my data table is too big I get this error: App cloning failed: Database size limit exceeded.

Oh I see.

Hmm, I suppose you would have to download and backup your data locally, and then clone. That does not sound fun!

Also, I believe you could possibly allow people to clone with git, in which case the actual data would not be cloned (click the gear icon in the IDE to see the git options).

You can Export as a .yaml file. This includes code, but no data.

gear icon -> share -> download as file. Send them the resulting .yaml file.

The other person can Import the .yaml file.

Good idea. How can I import this though?

Hi @p.colbert, can you point me toward a doc that showing how to do this? I cannot find it.

My Apps -> Import from file.

1 Like

Just figured that out :smiley: Thank you so much!

You’re very welcome.

I usually think of this as a source-code-only backup…