You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-12Lines changed: 6 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
> MERN stands for MongoDB, Express, React and Node.js Full Stack, which is one of the standard full stack for JavaScript developers.
10
10
11
-
This template is configured for the ScaleDynamics web platform. It is on MIT license and ready to use to build your own MERN based app/service. All is pre-configured: we provide one command to develop with live reload (frontend and backend) and one to deploy to make it live on a url.
11
+
This template is configured for the ScaleDynamics web platform. It is ready to use to build your own MERN based app/service. All is pre-configured: we provide one command to develop with live reload (frontend and backend) and one to deploy to make it live on a url.
12
12
13
13
One particularity of our platform is that you don’t have to manage the [Express](https://expressjs.com/) layers, the platform manages them for you automatically, so you can focus only on the MongoDB/Node/React coding.
14
14
@@ -30,10 +30,12 @@ npm install
30
30
To enter a live-reload development session, use the command below. Feel free to update the frontend or the backend code, it will be rebuilt at each change.
31
31
32
32
33
-
```ssh
33
+
```sh
34
34
npm run start
35
35
```
36
36
37
+
Note that when running this command, you have to select a project. On the ScaleDynamics platform, a project identifies an application or a microservice. If you are logged, select an existing project or create a new one. Else, you can use the platform anonymously. For more details on projects, see the [documentation](https://docs.scaledynamics.com).
38
+
37
39
#### Deploy with ScaleDynamics
38
40
39
41
First you have to compile and minify your project for production.
@@ -54,9 +56,7 @@ Finally, use the deploy command
54
56
npm run deploy
55
57
```
56
58
57
-
Note that when running this command, you have to select a project and an environment. On the ScaleDynamics platform a project identifies an application or a microservice.
58
-
59
-
Select an existing project or create a new one. An environment identifies the cloud execution environment to run your app. You can create as many as you want like ‘staging’, ‘demo’, ‘prod’... Each environment has its own url.
59
+
Note that when running this command, you have to select an environment. An environment identifies the cloud execution environment to run your app. You can create as many as you want like ‘staging’, ‘demo’, ‘prod’... Each environment has its own url.
60
60
61
61
To deploy, select an existing environment or create a new one. For more details on projects or environments, see the [documentation](https://docs.scaledynamics.com).
62
62
@@ -73,7 +73,7 @@ const URI = 'mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[de
73
73
```
74
74
75
75
76
-
You can create new functions that can be called by the frontend. Add them in `index.js` or into another module and export it. The platform manages the [Express](https://expressjs.com/) layers automatically.
76
+
You can create new functions that can be called by the frontend. Add them in `src/index.js` or into another module and export it. The platform manages the [Express](https://expressjs.com/) layers automatically.
77
77
78
78
79
79
```js
@@ -101,9 +101,3 @@ If you need more information, you can refer to the documentation:
0 commit comments