2020-03-30 17:11:56 +02:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="setup-step setup-step-database">
|
|
|
|
|
|
<h2>database configuration</h2>
|
|
|
|
|
|
<p>Zero uses <b>RavenDB</b> as it’s database. If you want a more sophisticated setup (i.e. cluster) you can override the IDocumentStore service which is registered as a singleton.</p>
|
|
|
|
|
|
|
|
|
|
|
|
<ui-property label="Instance URL" :vertical="true">
|
2020-04-03 16:45:47 +02:00
|
|
|
|
<input v-model="value.database.url" type="text" class="ui-input" placeholder="Enter URL to the Raven instance" />
|
2020-03-30 17:11:56 +02:00
|
|
|
|
</ui-property>
|
|
|
|
|
|
|
|
|
|
|
|
<ui-property label="Database name" :vertical="true">
|
2020-04-03 16:45:47 +02:00
|
|
|
|
<input v-model="value.database.name" type="text" class="ui-input" placeholder="Name of the existing database" />
|
2020-03-30 17:11:56 +02:00
|
|
|
|
</ui-property>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
name: 'setupStepDatabase',
|
|
|
|
|
|
|
|
|
|
|
|
props: {
|
|
|
|
|
|
value: Object
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
mounted ()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|