- Ruby 2.7.7
- Bundler 2
- PostgreSQL 14
-
Open up a terminal window, and go to a machine's folder
$ cd ~/Sources
-
Clone the repository
$ git clone git://github.com/Vizzuality/GeoCAT.git
-
Go into the GeoCAT folder
$ cd GeoCAT
-
I case you have installed rvm, grant it to execute the .rvmrc file
-
Install bundler
$ gem install bundler
-
Execute bundler install command
$ bundle install
-
Set up the database
$ rake db:setup
-
And then, start the server
$ bundle exec rails server
-
It should be working at http://localhost:3000
-
Install Docker
-
Run the following commands:
docker compose up --build
- Setup the database (in other terminal window)
docker compose run web bundle exec rake db:setup