Skip to content

Instantly share code, notes, and snippets.

@fz-chen
fz-chen / aws-wordpress-setup.md
Last active March 12, 2017 06:09
aws-wordpress setup

####AWS-setup

  1. go to aws ec2 to create a new instance (Amazon Linux)
  2. Create a new Key
  3. store key into ~/.ssh folder
  4. Change the permission of the key.pem chmod 400 key.pem
  5. Login using ssh ssh -i "key.pem" user@0.0.0.0

####LAMP Stack 6. sudo yum update -y

https://github.com/plataformatec/devise
gem 'devise'
rails generate devise:install
#possible configuration for config/environments/development.rb
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
rails generate devise MODEL ( or User or what ever)