-
-
Notifications
You must be signed in to change notification settings - Fork 730
Development Environment Setup: Debian
Maikel edited this page Sep 20, 2019
·
4 revisions
At the time of writing, the OFN runs on Ruby v2.1.9 which is very old depends on an old version of openssl. That old version of openssl is not available on newer Debian and Ubuntu versions. Here is how you get around it:
# Install an old version of libssl. You may need to remove your current libssl first.
sudo apt-add-repository "deb http://security.ubuntu.com/ubuntu bionic-security main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt update
sudo apt install libssl1.0-dev
# Install Ruby.
git clone https://github.com/rbenv/rbenv.git ~/.rbenv --depth=1
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build --depth 1
(cd ~/.rbenv && src/configure && make -C src)
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
. ~/.bashrc
rbenv install 2.1.9
# Install gems.
cd openfoodnetwork
./script/install-bundler
bundle
Development environment setup
- Pipeline development process
- Bug severity
- Feature template (epic)
- Internationalisation (i18n)
- Dependency updates
Development
- Developer Guidelines
- The process of review, test, merge and deploy
- Making a great commit
- Making a great pull request
- Code Conventions
- Database migrations
- Testing and Rspec Tips
- Automated Testing Gotchas
- Rubocop
- Angular and OFN
- Feature toggles
- Stimulus and Turbo
Testing
- Testing process
- OFN Testing Documentation (Handbooks)
- Continuous Integration
- Parallelized test suite with knapsack
- Karma
Releasing
Specific features
Data and APIs
Instance-specific configuration
External services
Design