compumike08 / twitter-clone

App built following the Pluralsight React.js on Rails: Building a Full Stack Web App course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twitter-clone

App built following the Pluralsight React.js on Rails: Building a Full Stack Web App course.

Prerequisites

Development Setup

Configuration

  1. Create a new file named secrets.yml and save it in your config/ directory (the secrets.yml file is ignored by Git source control).
  2. Copy and paste the following into your secrets.yml file:
# Be sure to restart your server when you modify this file.

# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!

# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rake secret` to generate a secure secret key.

# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.

development:
  secret_key_base: b20a0e6e0df58703f845ad4e0ab8e096eed11262209a5c0b0f597160c073a994df3509fd87c1ad24b704d62506ae1d148ffc7bbfe36c319e5ae34c4e8860b2b2

test:
  secret_key_base: 822afffa5da2b36dbcad905eff42581e66148392543ef78f3e640b1c7749fb401aa469b5a211dd999555b60be696469cdf507bcba8ca1d533dea07a7f85a2bfc

# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

NOTE: You can use the command rake secret to generate new random secret keys. You can then use that generated secret key to replace the sample key(s) used in the example code above within your own local secrets.yml file. Make sure to use different randomly generated secret keys for the development and test environments specified in secrets.yml.

Development Setup Known Issues

When trying to pull and install Ruby Gem(s) for the first time, you may experience the following error:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

If that error happens, follow the instructions on this webpage to manually fix the SSL issue.

About

App built following the Pluralsight React.js on Rails: Building a Full Stack Web App course


Languages

Language:Ruby 61.7%Language:HTML 20.6%Language:JavaScript 15.8%Language:CSS 2.0%