- Only Family! image sharing site for my family to be able to share photos with each other without using main stream social apps
- ruby on rails
- bootstrap
- devise
- stimulus
- dropzone
- sendgrid
* for Debian
```bash
sudo apt install zlib-dev libssl-dev libpq-dev
```
-
Clone rbenv into
~/.rbenv
.git clone https://github.com/rbenv/rbenv.git ~/.rbenv
-
Configure your shell to load rbenv:
-
For bash:
configure then source
~/.bashrc
:echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc . ~/.bashrc
-
-
Install ruby-build
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build git -C "$(rbenv root)"/plugins/ruby-build pull
-
Install ruby 3.1.2 and it's dependencies
rbenv install 3.1.2 --verbose
-
Install rails
gem install rails
sudo apt install postgresql
sudo systemctl start postgresql
sudo -u postgres psql
- create a user with the CREATEDB role
CREATE USER <username> CREATEDB;
\q
don't forget the ;
sudo apt install npm
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install nodejs
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
np
sudo apt update && sudo apt install yarn
gem install bundler
bundle install
yarn add esbuild
yarn add sass
sudo dnf install ImageMagick
sudo apt install imagemagick
rails db:create
pgsql onlyfams_development < of_backup
bin/dev