Giter Club home page Giter Club logo

ada-apply's Introduction

Ada Admissions Landing Page

Deploying

AWS Credentials

To deploy you will first need to have your AWS credentials configured.

You will need:

  1. An AWS account (this is separate from your normal Amazon account)
  • You will probably want to create one for the AWS Console.
  1. Access to the administrator account on LastPass or the help of someone that does have these credentials.
  2. To create ~/.aws/config. It should look like:
[profile dev]
aws_access_key_id = AKIA...
aws_secret_access_key = ...

[profile prod]
aws_access_key_id = AKIA...
aws_secret_access_key = ...

[default]
region = us-west-2

You can use the same key for both the dev and prod sections.

  1. You will to create ~/.aws/credentials. It should look like:
[default]
aws_access_key_id = AKIA...
aws_secret_access_key = ...

These keys should also be the same as above.

Development

Once you have your credentials deploying to dev is pretty simple:

$ ./deploy dev

Production

Deploying to production is trickier. First you will need to do the actual deploy:

$ ./deploy prod

Then you will need to use the Cloudfront Console to create an "invalidation" to clear the cache. Otherwise you will have to wait for the cache to expire. (Which is 24 hours by default.)

To create the invalidation:

  1. Log into the Cloudfront Console.
  2. Click into the "Distribution" for apply.adadev.org (E1YKMRTO9G7F1G)
  3. Click into the "Invalidations" tab.
  4. Click "Create Invalidation" and put in / as the object path.
  5. Repeat steps 2 through 4 for application.adadevelopersacademy.org (E2R1BVOWQFA8RO)

ada-apply's People

Contributors

hamled avatar kaidamasaki avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.