Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.37 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.37 KB

Build Status

Armstrong.Web

cover

A web-patform for ARMStrong. This web-platform should be included client for ARMStrong, OMIT and assistant for shield "D".

Before start

Local installation:

git clone [email protected]:digital-armstrong/Armstrong.Web.git && \
    cd ./Armstrong.Web && \
    docker compose run --rm web bash -c "make setup"

This commands cloned repo and setup prroject dependency. Also you can manually install all deps:

bundle install
yarn install
yarn build
yarn build:css
bin/rails db:drop db:create db:migrate db:seed

Start

After installing the dependencies, you can run the project in docker compose:

docker compose up --build

That's all. =)

Other options

All of the below commands must be executed inside the container.

Connect to a running container: docker exec -it armstrongweb_web_1 bash Clean startup with command execution: docker compose run --rm web bash -c "<your command>"

Refresh database

make cleanup

Test and lint

make check