Giter Club home page Giter Club logo

blast's Introduction

README

  • c social_development

blowfish.stage.staging.c66.me/ bobcat.blast.c66.me/

[email protected]

<h4>run delayed jobs</h4> rake jobs:work

<h2>GIT info</h2> git pull git add . git commit -am “this is a commit message” git push

<h2>CLOUD 66 INFO</h2> cx executable is in /usr/local/bin

cx redeploy -s stage cx redeploy -s blast

Usage: cx <command> [-s stack] [-e environment] [options] [arguments]

Commands:

stacks           list stacks
redeploy         redeploys stack
open             opens the web browser to visit the app served by the stack
settings         lists stack settings
set              sets the value of a setting on a stack
server-settings  lists server settings
server-set       sets the value of a setting on a server
env-vars         lists environement variables
env-vars-set     sets the value of an environment variable on a stack
lease            leases firewall access to the given server on the stack
restart          restarts the stack.
run              executes a command directly on the server
servers          lists all the servers of a stack.
ssh              starts a ssh shell into the server
tail             shows and tails the logfile specified on the given server
upload           copies a file from your local computer to the remote server
download         copies a file from the remote server to your local computer
backups          lists all the managed backups of a stack
download-backup  downloads a database backup
clear-caches     clears all existing stack code caches
version          show cx version
info             shows information about your account, toolbelt and the current directory or the specified stack

logout

<h4>Delayed job - Cloud66</h4> Procfile in root of application starts the worker

<h4>Connecting to servers Cloud66</h4>

Connect to PSQL: <pre> cx ssh -s stage Blowfish ! no longer in existence cx ssh -s blast Bobcat sudo -u postgres psql </pre>

Run migration: <pre> cd $STACK_PATH bundle exec rake db:migrate </pre>

View logs: cd $STACK_PATH/log/

TO START WORKING LOCALLY:

  • git pull

  • start postgres

  • navigate to blast directory (cd blast)

  • enter “rails s”

  • git add .(if you’ve added or removed files) or git add –all to remove files

  • git commit -am “updating readme”

  • git push

TO MAKE PROJECT EDITS:

  • assets > stylesheets > landing pages filename.css.scss

  • views > contents > name > filename.html.haml

blast's People

Contributors

brandonjah avatar followtheprince avatar

Watchers

Prince avatar James Cloos avatar  avatar

blast's Issues

create search page

there should be a standard blast.social page that allows users to search for a campaign by hash tag, then prefills the content, this would allow using our tool without a landing page

copy : home page

  1. Who we are
  2. What we are doing
  3. How we are doing it
  4. Benefits
  5. Contact

handle time zones

show the time the tweet will post in a customized time zone set on the admin side

facebook model/controller

need a posts controller that takes a twitter_user_id and facebook_user_id. the _schedule_tweet_form should be renamed schedule post form and will have a hidden value of both of those user ids. if they exist the post controller will create the tweet and the facebook post

show users by tweet

from a list of tweets, click to show the all of the users and a count of total users/tweets

activate aws

ultimately we will need a db server and app server, might go above free tier, but we should start by seeing what we can get away with on the free tier.

update nginx on servers

location ~ ^/assets/ {
expires 1y;
add_header Cache-Control public;

add_header ETag "";
break;
}

Logo

blast.social logo.

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.