sudo apt-get update
sudo apt-get install ruby2.7 libruby2.7 ruby2.7-dev \
libvips-dev libxml2-dev libxslt1-dev nodejs \
- apache2 apache2-dev build-essential git-core firefox-geckodriver \
+ build-essential git-core firefox-geckodriver \
postgresql postgresql-contrib libpq-dev libsasl2-dev \
libffi-dev libgd-dev libarchive-dev libbz2-dev yarnpkg
sudo gem2.7 install bundler
We use [Yarn](https://yarnpkg.com/) to manage the Node.js modules required for the project.
```
-bundle exec rake yarn:install
+bundle exec bin/yarn install
```
## Prepare local settings file
To create the three databases - for development, testing and production - run:
```
-bundle exec rake db:create
+bundle exec rails db:create
```
### Database structure
To create all the tables, indexes and constraints, run:
```
-bundle exec rake db:migrate
+bundle exec rails db:migrate
```
## Running the tests