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
That clone is performed by `docker/sync` automatically, but it does not update itself. To do so, please run
24
+
That clone is performed by `dc/sync` automatically, but it does not update itself. To do so, please run
25
25
26
26
```
27
27
$ cd rails.git
@@ -48,27 +48,26 @@ A number of convenience scripts are located in the `docker` directory, all of th
48
48
49
49
| Command | Description |
50
50
| --------------- | -------------------------- |
51
-
|`docker/bash`| Gets a Bash shell |
52
-
|`docker/psql`| Gets a `psql` shell |
53
-
|`docker/rails`| Runs `bin/rails`|
54
-
|`docker/server`| Launches Puma in port 3000 |
55
-
|`docker/sync`| Syncs the database |
56
-
|`docker/deploy`| Deploys the application |
51
+
|`dc/bash`| Gets a Bash shell |
52
+
|`dc/psql`| Gets a `psql` shell |
53
+
|`dc/rails`| Runs `bin/rails`|
54
+
|`dc/server`| Launches Puma in port 3000 |
55
+
|`dc/sync`| Syncs the database |
56
+
|`dc/deploy`| Deploys the application |
57
57
58
-
The commands `docker/server` and `docker/psql` are convenience wrappers around `docker/rails`. In general `docker/rails` is the main command:
58
+
The commands `dc/server` and `dc/psql` are convenience wrappers around `dc/rails`. In general `dc/rails` is the main command:
59
59
60
60
```
61
-
$ docker/rails test
62
-
$ docker/rails console
63
-
$ docker/rails db:migrate
64
-
$ docker/rails runner 'p Commit.count'
61
+
$ dc/rails test
62
+
$ dc/rails console
63
+
$ dc/rails db:migrate
64
+
$ dc/rails runner 'p Commit.count'
65
65
$ ...
66
66
```
67
67
68
-
The command `docker/server staging` runs the application in `staging` mode. That is a production-like environment (`config/environments/staging.rb` is a symlink to `config/environments/production.rb`), but it uses the development database and serves static files. If there are changes that act differently in `development` and `production`, this execution mode may be useful for checking things up before deployment.
68
+
The command `dc/server staging` runs the application in `staging` mode. That is a production-like environment (`config/environments/staging.rb` is a symlink to `config/environments/production.rb`), but it uses the development database and serves static files. If there are changes that act differently in `development` and `production`, this execution mode may be useful for checking things up before deployment.
69
69
70
-
If you modify the name mappings, hard-coded authors, etc., `docker/sync`
71
-
updates the credits and it does so changing as little as possible. The command also accepts an optional argument `all`, which forces the recomputation of all assignments. This is handy when you've changed the heuristics, and it takes less than a full database rebuild, since it does not reimport the commits themselves (which is costly).
70
+
To update the local Rails checkout and update the credits run `dc/sync`. The command also accepts an optional argument `all`, which forces the recomputation of all assignments. This is handy when you've changed the heuristics, and it takes less than a full database rebuild, since it does not reimport the commits themselves (which is costly).
0 commit comments