Skip to content

skshukla/infra

Repository files navigation

This Infra Project goal to is bring up some most common software infrastructure component (e.g. Postgres DB, Redis, Kafka, Nginx etc.) to up and running locally in just few seconds.

Checkout and execute the top level shell script to bring up and follow logs how to access it. Give it a try!!!!

  • common-vars.sh file is where common variable names are defined for "infra" project.
  • Alias for Local Machine name can be given which would make entry in host file (support for mac for now) and Infrastrucure component can be accessed by that name. e.g. Machine Alias is my-local-machine.com and once Nginx Is run, it would be available at https://my-local-machine.com/
  • To run any software component locally, run respective folders' run file e.g. goto run_nginx folder and execute run.sh file to run nginx locally.
  • Any component would produce the log for output. Look that for further details

ElasticSearch

git clone https://github.com/skshukla/infra && cd infra && chmod +x ./run_elasticsearch/run_elasticsearch.sh && ./run_elasticsearch/run_elasticsearch.sh

Kafka

git clone https://github.com/skshukla/infra && cd infra && chmod +x ./run_kafka/run_kafka.sh && ./run_kafka/run_kafka.sh

Nginx

git clone https://github.com/skshukla/infra && cd infra && chmod +x ./run_nginx/run_nginx.sh && ./run_nginx/run_nginx.sh

Postgres

git clone https://github.com/skshukla/infra && cd infra && chmod +x ./run_postgres/run_postgres.sh && ./run_postgres/run_postgres.sh

Redis

git clone https://github.com/skshukla/infra && cd infra && chmod +x ./run_redis/run_redis.sh && ./run_redis/run_redis.sh