Community app where can people can validate and discuss ideas with the world
- Ruby 2.5.1
- Rails 5.2
- nginx
- Phusion Passenger
- PostgreSQL
- Sass
- Redis/Sidekiq
- Bootstrap
- Webpack/Webpacker
- Vanilla™ ES6
On Mac OSX run
brew install nginx --with-passenger
See more on configuring Passenger on OSX
Add a server config, or to the main nginx.conf
file:
server {
listen 80;
server_name ideagrid.local;
root /Users/you/path/to/ideagrid/public;
access_log /Users/you/path/to/ideagrid/log/nginx_access.log;
error_log /Users/you/path/to/ideagrid/log/nginx_error.log;
passenger_enabled on;
rack_env development;
}
Add a line to your /etc/hosts
file like:
127.0.0.1 ideagrid.local
IdeaGrid is developed against Postgres 9.6. I recommend using Postgres.app
git clone git@github.com:ckahle33/ideagrid.git
cd ideagrid
bundle install
cp ./config/database.yml.example ./config/database.yml
(this will end up in .env)cp .env.example .env
bundle exec rake db:create db:migrate db:seed
touch tmp/restart.txt
(to restart passenger)
yarn install
./bin/webpack-dev-server