2020-02-22 17:08:41 +00:00
|
|
|
# Miniloom API
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Instalar las herramientas de compilación de la distro
|
|
|
|
(`build-essential`, `base-devel`, etc.)
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Instalar Ruby 2.6.5 usando [rbenv](https://github.com/rbenv/rbenv)
|
|
|
|
y [rbenv-build](https://github.com/fauno/ruby-build)
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Con Ruby 2.6.5 activado, instalar bundler con `gem install bundler`
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Clonar este repositorio y dentro del directorio, correr `bundle` para
|
|
|
|
instalar las gemas.
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Crear o actualizar la base de datos con `bundle exec rake db:migrate`
|
2019-04-05 20:20:20 +00:00
|
|
|
|
2020-02-22 17:08:41 +00:00
|
|
|
* Correr el servidor de prueba con `bundle exec rails serve -b 0.0.0.0`
|