3

I'm using Backand as the api between my frontend and my externally hosted MySQL database. This is a college project, and one of the requirements is to submit my project/code where my project must be deploy-able on the examiners server, from scratch.

Is there any way of setting up a Backand instance (on Backand.com) using a template of my current setup while modifying the specifics (database location, triggering a sync etc..) I'm open to writing some bash scripts if necessary.

If anyone has any suggestions, I would love to hear them. Thank you.

Alan
  • 1,510
  • 1
  • 18
  • 35

1 Answers1

2

Backand logic run on Backand's server and can't be deployed on private server.

If it's simple logic, you can migrate it to express

Another possibility if it's in project rules, you can leave server side at Backand but deploy client code in many servers, and be able to serve more users from have your client code hosted on a single server.

Edit: You can export and import configuration in Backand see remarks.

Ygalbel
  • 5,214
  • 1
  • 24
  • 32
  • Thanks for the answer, however I'm not looking to setup an instance on my own server. I'm wondering is it possible to create an instance on backand.com, but through a script. Otherwise I'll need to share credentials with my exam board and possibly have to have them change the configuration by hand if they want to instanciate their own external database. – Alan Feb 23 '16 at 11:53
  • Do you want to duplicate your application? – Ygalbel Feb 23 '16 at 12:43
  • yes ideally I want to be able to input specifics like the external MySQL database hostname and probably the owners credentials, and have it create a new instance of Backand from a template of mine. (I have come backups of my instance, so I feel like I'm already close) – Alan Feb 23 '16 at 12:52
  • 1
    Backand just add this new feature. You can export and import your configuration in settings > configuration tab. So you export form original app and import config to your new app. And after that you can change db configuration from DB tab. – Ygalbel Feb 23 '16 at 12:57
  • 1
    I saw that! Perhaps I can write a simple script for creating a Backand user, project, import the config and change the database configuration. Thanks for the help @Ygalbel – Alan Feb 23 '16 at 13:10