Gokul Thulaseedharan
Gokul Thulaseedharan

Reputation: 343

How to setup an upload folder in openshift?

Anybody please help me.. I am working a mean application on open shift.i can upload images from website.but each time i push new code to open shift the upload folder where images is stored is deleted.how can i setup a permanent upload folder in open shift?

Upvotes: 1

Views: 164

Answers (1)

Hiren S.
Hiren S.

Reputation: 2832

Use OPENSHIFT_DATA_DIR environment variable.

OPENSHIFT_REPO_DIR directory(your code directory) will cleaned automatically when you push your code to git

Upvotes: 1

Related Questions