This app is build based on similar functionality of twitter.
This is live at: https://ideator.paudelmadhav.com.np
docker build -t madhav-ideator .
export SECRET_KEY_BASE="$(rails secret)"
export DATABASE_URL="postgresql://postgres:password@localhost:5432/ideator_development"
export RAILS_SERVE_STATIC_FILES=enabled
export SMTP_USERNAME=SAMPLE_USERNAME
export SMTP_PASSWORD=SAMPLE_PASSWORD
docker run --rm -it -p 3000:3000 --name=ideator-container \
-e DATABASE_URL=$DATABASE_URL \
-e SECRET_KEY_BASE=$SECRET_KEY_BASE \
-e RAILS_SERVE_STATIC_FILES=$RAILS_SERVE_STATIC_FILES \
-e SMTP_USERNAME=$SMTP_USERNAME \
-e SMTP_PASSWORD=$SMTP_PASSWORD \
madhav-ideator
docker tag madhav-ideator:latest paudelmadhav/madhav-ideator:latest
docker push paudelmadhav/madhav-ideator:latest