Recipy is the first application to offer customized recipes by reducing food waste. Indeed, Recipy offers its users the opportunity to discover new recipes based on their tastes, by consuming locally. Finally, the application allows the user not to worry about his weekly shopping list, because it is directly generated and integrated into the tools of today and tomorrow.
You can find us at www.recipy.fr
- Follow the instruction : Docker compose
sudo systemctl start docker
sudo systemctl enable docker
- Follow the instruction : rbenv
rbenv install
gem install bundler
bundle
- Follow the instruction : nvm
nvm use
(If this doesn't work, try installing ruby-build, don't forget to add it to your bash/zsh with this)nvm alias default $(cat .nvmrc)
npm i -g [email protected]
yarn
After that you need to ask us the master.key by e-mail or on Discord.
-
Ubuntu then
sudo systemctl disable postgresql
First you need to start all dockers with docker-compose up -d
Don't forget to reset the database at the first launch and after each time you pull :
bundle exec rake db:reset
rake db:create
rake db:migrate
Then enter each following command in a different terminal (or in background) at the root of the project:
./bin/webpack-dev-server
is used for JS, learn more about it here
bundle exec sidekiq -t 25
is used for the mailcatcher, you can learn more about it here
rails s
simply start the server
The mailtrap is available at http://localhost:8084/#/
Problem: rake aborted! NoMethodError: undefined method `[]' for nil:NilClass
Solution: The master.key is missing in /config
(Ask us by e-mail or on Discord !)
Problem: Minimagick is missing.
Solution: You just need to install the missing package.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
If you have any question, you can contact us at [email protected]