File tree Expand file tree Collapse file tree 6 files changed +11
-33
lines changed Expand file tree Collapse file tree 6 files changed +11
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV DEVEL=1
66ENV LANG=C.UTF-8
77
88RUN apt-get update -qq
9- RUN apt-get install -yqq --no-install-recommends build-essential chromium libyaml-dev nano netcat-traditional pkg-config
9+ RUN apt-get install -yqq --no-install-recommends build-essential chromium less libyaml-dev nano netcat-traditional pkg-config
1010
1111ARG BUNDLER_VERSION
1212RUN gem install bundler -v ${BUNDLER_VERSION}
@@ -26,6 +26,6 @@ ENV ACTIVEADMIN_VERSION=$ACTIVEADMIN_VERSION
2626WORKDIR /app
2727COPY . /app
2828RUN bundle install
29- RUN chown -R app:app /app/spec/dummy/db /usr/local/bundle
29+ RUN mkdir -p /app/spec/dummy/db && chown -R app:app /app/spec/dummy/db /usr/local/bundle
3030
3131RUN ln -s /app/extra/.bashrc /home/app/.bashrc
Original file line number Diff line number Diff line change 1+ # Ignore everything but the required files for bundle install
2+ /**/*
3+
4+ !/*.gemspec
5+ !/Gemfile
6+ !/lib
Original file line number Diff line number Diff line change 22
33export DEVEL=1
44
5- export RAILS_VERSION=8.0.2
5+ export RAILS_VERSION=7.2.2.1
66export ACTIVEADMIN_VERSION=3.3.0
77
88export RAILS_ENV=development
Original file line number Diff line number Diff line change 22
33### Dev setup
44
5- There 3 ways to interact with this project:
5+ There 2 ways to interact with this project:
66
771 ) Using Docker:
88
@@ -24,19 +24,7 @@ RUBY=3.2 RAILS=7.1.0 ACTIVEADMIN=3.2.0 make up
2424# For more commands please check the Makefile
2525```
2626
27- 2 ) Using Appraisal:
28-
29- ``` sh
30- export RAILS_ENV=development
31- # Install dependencies:
32- bin/appraisal
33- # Run server (or any command):
34- bin/appraisal rails s
35- # Or with a specific configuration:
36- bin/appraisal rails80-activeadmin rails s
37- ```
38-
39- 3 ) With a local setup:
27+ 2 ) With a local setup:
4028
4129``` sh
4230# Dev setup (set the required envs):
Original file line number Diff line number Diff line change @@ -17,4 +17,3 @@ services:
1717 - ..:/app
1818 stdin_open : true
1919 tty : true
20- command : ${COMMAND:-extra/init.sh}
You can’t perform that action at this time.
0 commit comments