Commit dc4e4399 authored by Reza Sahebgharan's avatar Reza Sahebgharan

docs(update installation guide): update installation guide

parent e31d9c57
Pipeline #597 passed with stages
in 2 minutes and 59 seconds
server android
browser browser
server
## Prerequisite
- install docker for desktop on windows
- go to icon tray on windows and right click on docker icon, then click on 'settings'
- on the settings window, open the 'Daemon' tab and turn on 'advanced' option
- a configuration setting as bellow must be openned in the Daemon Tab:
```
{
"registry-mirrors": [],
"insecure-registries": [],
"debug": true,
"experimental": false
}
```
change it to the following and click on apply button on the Daemon Tab:
```
{
"registry-mirrors": [],
"insecure-registries": [
"repo.marcopacs.com"
],
"debug": true,
"experimental": false
}
```
## Installation Guide ## Installation Guide
- create a folder in the production server for example in the drive C(ex: c:/build) - create a folder in the production server for example in the drive C(ex: c:/build)
...@@ -37,7 +66,8 @@ networks: ...@@ -37,7 +66,8 @@ networks:
external: external:
name: nat name: nat
``` ```
- navigate to Drive C and create a folder called "data"
- navigate to Drive C and create a folder called "data"
- navigate to C:/data and create a folder called "db" - navigate to C:/data and create a folder called "db"
......
App.info({
id: 'marcopacs.karname.ir',
name: 'karname-app',
version: "0.0.1"
})
App.setPreference('android-targetSdkVersion', '19')
App.accessRule('*');
\ No newline at end of file
...@@ -65,7 +65,21 @@ const clientConfig = { ...@@ -65,7 +65,21 @@ const clientConfig = {
test: /\.vue$/, test: /\.vue$/,
loader: 'vue-loader', loader: 'vue-loader',
options: { options: {
loaders: {} compilerOptions: {
modules: [{
preTransformNode(astEl) {
if (process.env.NODE_ENV === "production") {
const { attrsMap, attrsList } = astEl;
if (attrsMap["data-cy"]) {
delete attrsMap["data-cy"];
const index = attrsList.findIndex(x => x.name === 'data-cy')
attrsList.splice(index, 1);
}
}
return astEl;
}
}]
}
// other vue-loader options go here // other vue-loader options go here
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment