Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zach - Submission - pinspiration #36

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
50a08c9
instl rails 6
zachariah-chow May 15, 2020
0ea3d87
inst gems:- devise/pry/pry-rails
zachariah-chow May 15, 2020
8296fb1
generated devise User model / views
zachariah-chow May 15, 2020
aa87ae5
ran User migration
zachariah-chow May 15, 2020
7181f90
generated Pin model
zachariah-chow May 15, 2020
9125ba4
ran Pin migration
zachariah-chow May 15, 2020
4bc0601
generated Comment model / ran migration
zachariah-chow May 15, 2020
91f3e88
added comment rship to Pin model
zachariah-chow May 15, 2020
f2037eb
corrected erroneous syntax
zachariah-chow May 15, 2020
83ddca8
added user rship to Pin model
zachariah-chow May 15, 2020
109b849
added pin rship to User model
zachariah-chow May 15, 2020
0426508
added user ref to pins, ran migration
zachariah-chow May 15, 2020
ebefa9b
generated pin controllers/views
zachariah-chow May 15, 2020
241c615
generated Comment controller
zachariah-chow May 15, 2020
6b712f0
added pins routes (resources)
zachariah-chow May 15, 2020
60c12eb
corrected destroy dependent syntax
zachariah-chow May 15, 2020
3b63607
generated home controller / view
zachariah-chow May 15, 2020
9ecd483
added root home#index
zachariah-chow May 15, 2020
6ee3f0d
updated pin show/index views / controller
zachariah-chow May 15, 2020
b696ff6
build: Install tailwindcss (dev)
zachariah-chow May 17, 2020
b66f55f
build: Initialise tailwind config
zachariah-chow May 17, 2020
b4d5856
chore: Add stylesheet tag
zachariah-chow May 17, 2020
efaeb0b
chore: Import stylesheet
zachariah-chow May 17, 2020
f350433
chore: Require tailwindcss / autoprefixer
zachariah-chow May 17, 2020
5069064
feat(experiment): Added markup to home index
zachariah-chow May 17, 2020
430cb9c
Merge pull request #1 from zachariahchow/tailwind-experiment
zachariah-chow May 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
129 changes: 37 additions & 92 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,96 +1,41 @@
####### NODE
notes.md
notes3.md
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

####### RAILS
# Ignore bundler config.
/.bundle

*.rbc
capybara-*.html
.rspec
/log
/tmp
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html

# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/secrets.yml

## Environment normalisation:
/.bundle
/vendor/bundle

# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc
bower.json

# Ignore pow environment settings
.powenv

.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

####### OSX

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
/db/*.sqlite3-*

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
/storage/*
!/storage/.keep

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.1
57 changes: 57 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.1'

#devise
gem 'devise'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 4.0'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
#pry / pry-rails
gem 'pry', '~> 0.12.2'
gem 'pry-rails', '~> 0.3.4'
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end

group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Loading