Self-hosting Texterify

Requirements#

  • docker
  • docker-compose

Install#

# Clone the docker-compose configuration.
git clone https://github.com/texterify/texterify-docker-compose-setup.git
cd texterify-docker-compose-setup
 
# Generate a secret key for the app. Keep it private.
echo SECRET_KEY_BASE=`openssl rand -hex 64` > secrets.env
 
# Start the service.
docker volume create --name=texterify-database
docker volume create --name=texterify-assets
docker-compose up

When everything has started, create the database from a second terminal in the same directory:

docker-compose exec app bin/rails db:create db:migrate db:seed

The service is now available at http://localhost.

Services#

The stack runs the Texterify app, PostgreSQL and Redis (used by background jobs).

Point the CLI at your instance#

In texterify.json, set api_base_url to your server, for example https://translations.example.com/api. If you work with several servers, see texterify use in the CLI reference.

Next steps#

Updated

Was this page helpful?