You can use rvm or rbenv to have a Ruby Environment Manager
rbenv install 3.0.0
or
rvm install 3.0.0
You need node.js and yarn packages
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt update
$ sudo apt-get install -y nodejs yarn`
first install bundler
$ gem install bundler
install Rails version
$ gem install rails
You can clone the project
$ git clone https://github.com/simplonve/demande_projets
$ cd demande_projets`
$ bundle install
to migrate the database:
$ rails db:create && rails db:migrate
### Deployment instructions
on heroku rails use the gem pg with postgresql
Pour voir les messages postés dans cette application, il faut se rendre sur le lien https://demande-projets.nom_serveur.tld/projets
To watch where the posted messages are, please go to this link: https://demande-projets.host_name.tld/projets
Feel free to fork the project and change the code for your use, it's easy to understand.