![]() I see warnings during various later steps about them being missing, but nothing seems to go boom. ![]() I’m not going to cover that, since it’s pretty straightforward.įWIW AFAICT none of these tools is required. Here’s how to do it with port: sudo port install imagemagick pngquant optipng jhead jpegoptim gifsicle Most of the image optimization libraries can be installed using either port or brew. Control-C to cancel or docker-compose down if for some reason something doesn’t shut down cleanly. Once your docker-compose.yml is in place, take it for a spin: docker-compose upĪssuming everything is configured properly you should see redis and postgres boot up. In this configuration we expose both the standard postgres and redis ports and run the boot command the container needs to start. Please don’t use this container in production-it’s completely insecure! Here’s the hooks part of my data.yml file: hooks:Īlter user discourse with password 'discourse' Īgain, this is just in case you want to build your own Discourse data container and not use mine. Second I made that user a superuser so it can create testing databases. First I set the password of the discourse user to be discourse. I used the sample data.yml file with two changes. geoffreychallen/discourse_data:latest is built from Discourse Docker. Thanks to for the suggestion to use a standard Discourse data container. Image: "geoffreychallen/discourse_data:latest" Next we need to create our docker-compose.yml file configured to start redis and postgres. You may need to adjust the path to pg_config depending on where you installed asdf. Gem install pg -with-pg-config=$HOME/.asdf/installs/postgres/10.12/bin/pg_config Now you should be able to do the Ruby library install steps included in the script and later in the directions: gem update -system tool-versions with these contents: yarn 1.22.2 Happily, asdf makes it easy to both install all at once and pin the versions to our project directory. There are three things we need to install using asdf: ruby, yarn, and postgres. tool-versions configuration file and where we’ll create our docker-compose.yml file for Docker. This is important since this is where asdf will save its. Discourse SourceĪll the steps below should be done inside your Discourse source directory: git clone & cd discourse We’re also going to need to lightly reconfigure our development environment to connect to the postgres server run by docker-compose. These can be installed using either brew, port, or directly from source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |