fixer_io_lucky
fixer_io_lucky
Lucky and Crystal
Setting up the project
- Install required dependencies
- Run
script/setup
- Run
lucky dev
to start the app
Learning Lucky
Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.
Docker
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
CircleCI
Configuration is found in .circleci/config.yml
We use a custom docker image iainmcnulty/lucky
which is based off crystallang/crystal:0.30.1
but which has been modified to add node 10.16
, 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 .
TODO
- 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
fixer_io_lucky
- 1
- 1
- 18
- 0
- 6
- almost 2 years ago
- August 18, 2019
Fri, 22 Nov 2024 21:16:17 GMT