- Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.
- If you are new to Amazon Route 53, you see a welcome page; choose Get Started Now for DNS Management. Otherwise, choose Hosted Zones in the navigation pane.
- Choose Create Hosted Zone.
- For Domain Name, type your domain name.
- Choose Create.
- Click the Hosted Zone, edit record set.
- In the value, add
ec2-54-152-134-146.compute-1.amazonaws.com. - Change your DNS file to point to the IPv4 address (This would be in something like GoDaddy).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const AWS = require('aws-sdk'); | |
| const Busboy = require('busboy'); | |
| const BUCKET_NAME = ''; | |
| const IAM_USER_KEY = ''; | |
| const IAM_USER_SECRET = ''; | |
| function uploadToS3(file) { | |
| let s3bucket = new AWS.S3({ | |
| accessKeyId: IAM_USER_KEY, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="row text-center"> | |
| <div class="col-md-12 mb-3"> | |
| <label>Upload your resume</label> | |
| <small>(.pdf or .docx file please)</small> | |
| </div> | |
| <div class="col-4 offset-4 text-center mb-3"> | |
| <!-- Upload resume button. Trigger function on browser file upload --> | |
| <input type="file" name="resume" @change="uploadResume" class="form-control-file"> | |
| </div> |