Lucky and Crystal
Setting up the project
- Install required dependencies
lucky devto start the app
Build in Docker
Base image is created from this repo nulty/docker-lucky
docker build --build-arg DB_PASSWORD=YOUR_PASSWORD -t YOUR_DOCKER_TAG .
Run in Docker
Running the app from a docker container is something I'll look into in the future
Configuration is found in
We use a custom docker image
iainmcnulty/lucky which is based off
crystallang/crystal:0.30.1 but which has been modified to add
postgresql-9.6 and also installed
yarn. We need yarn to build the assets in the lucky application.
To make changes to the ci config, you will probably want to install the circleci commandline tool which allows you to build the container and run the config locally.
circleci build .
- Use docker compose to attach an external postgres container
- Get the app running in a container exposing ports to the host
- libevent 2.1 not available in the base image containter (Xenial) - upgrade
- about 1 month ago
- August 18, 2019
Sat, 16 Jan 2021 05:25:50 GMT