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: docs-site/content/docs/getting-started/guide.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Loco is a Web or API framework for Rust. It's also a productivity suite for deve
41
41
-**Fat models, slim controllers**. Models should contain most of your logic and business implementation, controllers should just be a lightweight router that understands HTTP and moves parameters around.
42
42
-**Command line driven** to keep your momentum and flow. Generate stuff over copying and pasting or coding from scratch.
43
43
-**Every task is "infrastructure-ready"**, just plug in your code and wire it in: controllers, models, views, tasks, background jobs, mailers, and more.
44
-
-**Convention over configuration**: decisions are already done for you -- the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you do be the most effective.
44
+
-**Convention over configuration**: decisions are already done for you -- the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you to be the most effective.
45
45
46
46
## Creating a New Loco App
47
47
@@ -104,7 +104,7 @@ Here's a rundown of what Loco creates for you by default:
104
104
105
105
Let's get some responses quickly. For this, we need to start up the server.
106
106
107
-
You can now switch to to `myapp`:
107
+
You can now switch to `myapp`:
108
108
109
109
```sh
110
110
$ cd myapp
@@ -201,7 +201,7 @@ Loco has powerful generators, which will make you 10x productive and drive your
201
201
202
202
If you'd like to be entertained for a moment, let's "learn the hard way" and add a new controller manually as well.
203
203
204
-
Add a file called `home.rs`, and `pub mod home;` it in `mod.rs`:
204
+
Add a file called `home.rs`, and line `pub mod home;` in `mod.rs`:
If you have not added an user before, the report will be empty.
843
+
If you have not added a user before, the report will be empty.
844
844
845
-
To add an user check out chapter [Registering a New User](/docs/getting-started/tour/#registering-a-new-user) of [A Quick Tour with Loco](/docs/getting-started/tour/).
845
+
To add a user check out chapter [Registering a New User](/docs/getting-started/tour/#registering-a-new-user) of [A Quick Tour with Loco](/docs/getting-started/tour/).
846
846
847
847
Remember: this is environmental, so you write the task once, and then execute in development or production as you wish. Tasks are compiled into the main app binary.
0 commit comments