Skip to content

jasonramirez/jasonramirez

Repository files navigation

Jasonramirez

Tracking

Google Analytics

We're using Google Analytics for tracking basic events like page views, scrolling to the end of a page, etc. Visit Google Analytics to review this site's activity.

The tracking only happens on the production site where an environment variable is present.

Google Ads

We've connected our Google Analytics to Google Ads for improved tracking of ads to conversions for actions like following. Visit Google Ads to review ads running and ad performance.

Development

Getting Started

After you have cloned this repo, run this setup script to set up your machine with the necessary dependencies to run and test this app:

% ./bin/setup

It assumes you have a machine equipped with Ruby, Postgres, etc. If not, set up your machine with this script.

After setting up, you can run the application using [Heroku Local]:

% rails s

Removing Unused Images

I've built a rake task to delete any unused images. From the command line run:

$ rake image_cleaner:find_unused_images

It will remove the images. You can commit the change to finalize it.

Database Management

Use the parity gem for database backups and copies.

Copy Local Database to Production

From the command line:

$ production restore-from development --force

Guidelines

Use the following guides for getting things done, programming well, and programming in style.

Creating Posts

Hosting Images

We're using AWS S3 buckets to host images. Visit http://aws.amazon.com and login with jason@jasonramirez.com credentials to upload images.

Adding Images to a Post

Using markdown:

![image alt text](https://s3.amazonaws.com/jasonramirez/image.png)

About

Jason Ramirez's personal website

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published