Code Monkey home page Code Monkey logo

bcn_is_magic's Introduction

Barcelona is magic

Project to post automatic content to an Instagram account and grow the followers.

This idea is based on this read, I recommend it ;)

Start

docker network create bcnismagic_external

cp .env.example .env

# Replace DB_POSTING_PASSWORD value from .env file 

docker-compose up --build -d

# Deploy Database

docker run --rm -ti --network bcnismagic_external -v $PWD/db_posting/src:/app -w /app sqitch/sqitch deploy db:pg://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_CONTAINER:5432/$POSTGRES_DB

# Install libraries php_posting service

docker run --rm -ti -v $PWD/php_posting/src:/app -w /app composer composer install --ignore-platform-reqs

# From /php_posting/src
# Create new environment files and replace value of vars

cp .env.example .env

cp .env.dev .env.prod

# Install libraries php_following service
    
docker run --rm -ti -v $PWD/php_following/src:/app -w /app composer composer install --ignore-platform-reqs

# From /php_following/src
# Create new environment files and replace value of vars

cp .env.example .env

cp .env.dev .env.prod

Documentation

Each service has it own documentation in a README.md file on root path.

PHP Posting

DB_Posting

PHP Following

TODO

  • Deploy on AWS.
  • Cron jobs.
    • Recollect images.
    • Clean images.
    • Post image.
    • Recollect accounts.
  • Rename service search_elasticsearch to search_following
  • Rename service db_postgres to db_posting.
  • Automatic deploy on AWS on github master branch change.
  • AWS VPN server to connect to DB.
  • Documentation AWS steps.

bcn_is_magic's People

Contributors

adrianet86 avatar adrialetgo avatar

Stargazers

 avatar

Watchers

James Cloos 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.