Commit Graph

26 Commits

Author SHA1 Message Date
aus-social a31cd220ee Follow production best practice (#679)
I've deployed from master and didn't checkout a stable release tag....
2018-08-23 18:19:00 +02:00
Nicolas CARPi cea31fe54e Prepend "bundle exec" to rake commands in docker (#639)
See issue #7782
2018-06-15 11:16:35 +02:00
Lukáš Lánský 90f70e0b68 Adding copy config step (#596)
* Adding copy config step

As discussed in #591, docker will refuse to run the `mastodon:setup` step without some configuration file present.

* The secret generation part of docker installation process

As noticed in #6883, you need to generate the keys manually.

* Setting correct file owner is important even in the prebuilt-image case

... as evidenced by issue #6911

* This step should not be necessary -- let's fix the installation instead
2018-05-09 10:57:16 +02:00
Angristan 5f546d1999 Fix typo (#578) 2018-03-28 11:43:28 +02:00
RosaEinhorn 42e5e85445 Update Docker-Guide.md (#577) 2018-03-20 23:23:20 +01:00
Effy Elden 64328425db Update Docker Guide to point to hub/tootsuite instead of hub/gargron (#576) 2018-03-20 13:44:26 -04:00
Eugen Rochko ceaa847cbb
Update Docker guide in preparation for 2.3.0 (#561) 2018-03-09 11:56:08 +01:00
Akihiko Odaki 845ed4ad99 Use db:setup instead of db:migrate when creating the database (#560)
db:setup is used in all guides except Docker Guide, which uses db:migrate
to create the database. db:setup is actually superior over db:migrate for
the purpose in terms of performance and compatibility.

db:setup is performant because it does not perform redundant migrations.
db:migrate, on the other hand, executes migration code which will be
dismissed by later migrations. db:migrate also waits for seconds to allow
to interrupt migrations if it is not favorable to run them on a running
server, but db:setup is obviously executed on a instance which is not
running yet, and the wait is unnecessary.

db:migrate has a compatibility issue. It requires a compatibility layer
to keep it working, and such one may be broken, or not provided by
dependencies such as Paperclip.

This commit replaces db:migrate with db:setup in the building guide. The
procedure cannot be applied to migration from an older release, where
the old procedure could, but it is not problematic because it has
dedicated Updating section.
2018-03-09 06:41:01 +01:00
wolfteeth 6a961e899f Clarify Docker instructions for prebuilt images (#533)
* Clarify Docker instructions for prebuilt images

Made clear there are two options for getting the Docker image: pulling the prebuilt image, or building your own. Using a prebuilt image is easier for anyone who hasn't made code changes on their instance.

* Fix errors in Docker prebuilt image instructions
2018-02-04 00:29:50 +01:00
Jim Tittsler 088399a36b Update Docker (#487) 2017-12-17 15:08:48 +01:00
Alexander Terczka 0eeb940818 Update Docker-Guide.md
Removed the ssh port forwarding info
2017-10-27 01:54:55 +02:00
Alexander Terczka 3789996bf8 Anonymous git URL is easier for the initial git clone
HTTPS hint added
2017-10-23 14:48:47 +02:00
cybergene 735392fcbd fix typo (#377)
* Add how to create VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY

* fix typo
2017-08-17 14:47:24 +02:00
cybergene 6e52a54bbf Add how to create VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY (#376) 2017-08-16 22:13:11 +02:00
nightpool aa28bbc4b6 remove bit about cronjobs (#333)
this has been out of date for a few months now
2017-07-05 03:01:30 +02:00
ik bca4ee4f06 Add the first step to clone. 2017-06-29 20:56:50 +09:00
Wexpo Lyu 3d88f71e21 Mention that we can use prebuilt images in docs. (#313)
* Mention that we can use prebuilt images.

Instead of building our own.

* Mention that we need to comment out `build`.

If we want to use prebuilt.
2017-06-27 11:53:59 +02:00
zunda 58d6dcb46a Remove the procedure to run `rake secret` outside the container
This change will help users avoid unnecessary procedure to
complete `bundle install` outside the container.

The explanation

> To generate the PAPERCLIP_SECRET, SECRET_KEY_BASE, and
> OTP_SECRET, you may use:
>
> ```
> rake secret
> ```

gives users a false impression that secrets have to be filled in
before the image can be built. Here, with introduction of CLD3,
completion of `bundle install` became more involved procedure to
prepare tools and libraries as well as higher version of Ruby.
2017-06-02 21:19:30 -10:00
jeroenpraat 448906e217 Prerequisites and cronjobs (#183)
* Prerequisites and cronjobs

* We probably we don't even support Windows and Mac
2017-05-01 16:59:28 +02:00
wxcafé 64a1c834b2 Docker-guide consistency 2017-04-27 10:56:41 +02:00
Alan deLevie 4fc9c889ef Fixing typos in Docker-Guide.md (rails -> rake) (#112) 2017-04-22 10:38:15 +02:00
Ash Furrow 22c52995ad Adds note about persisting volumes. (#113) 2017-04-22 00:34:36 +02:00
Eugen 38fcd2a5c9 Merge pull request #98 from ashfurrow/docker-update
Updates Docker Update Instructions for git
2017-04-20 14:46:56 +02:00
Aaron Coburn 18e4c617a2 Update link (#93)
Fix typo
2017-04-19 18:36:28 +02:00
Ash Furrow 24e97522a6
Updates update instructions. 2017-04-18 20:58:59 -04:00
Matt Jankowski 4b67a3574b Import from main repo README (#82)
* Add docker guide from main repo readme

* Add maintenance tasks doc to running section

* Clean up markdown in prod guide

* Move guidance to use tagged releases to docs

* Move local domain and host config to docs repo

* Title of page

* Update Production-guide.md
2017-04-18 16:32:47 +02:00