Giter VIP home page Giter VIP logo

dockerized_lara's Introduction

๐Ÿ’ซ About Me:

I am working as Staff Software Engineer at Tradelig
Ex Software Engineering Manager at Seera

๐ŸŒ Socials:

LinkedIn Medium Stack Overflow Twitter

๐Ÿ’ป Tech Stack:

Go GraphQL JavaScript PHP Python TypeScript AWS Datadog Firebase Fastify Express.js Laravel NodeJS NestJS NPM React React Native Socket.io Nginx Jenkins AmazonDynamoDB MySQL Postgres Redis MariaDB MongoDB Vagrant Ansible Gradle Postman Docker Swagger ElasticSearch Terraform

๐Ÿ“Š GitHub Stats:



๐Ÿ† GitHub Trophies

โœ๏ธ Random Dev Quote

๐Ÿ˜‚ Random Dev Meme


dockerized_lara's People

Contributors

ahmedfaragmostafa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dockerized_lara's Issues

Error updating hosts file

Hi, you have an error in your README.md file in Update Hosts file section

You cannot use sudo echo .... because echo is a built in not an executable binary file so cannot use sudo before it, you can use this command instead

echo "127.0.0.1 dockerized_lara.local" | sudo tee -a /etc/hosts

I hope you fix it quickly ๐Ÿ‘

Cors headers issue

You have to add the following for the CORS headers,
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, DELETE, OPTIONS';

so the nginx.conf should be :

location ~ \.php(/|$) {
        fastcgi_pass dockerized_lara_php:9000;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include         fastcgi_params;
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param   DOCUMENT_ROOT   $realpath_root;
        fastcgi_param   REMOTE_PORT     $remote_port;
        fastcgi_param   SERVER_ADDR     $server_addr;
        fastcgi_param   SERVER_PORT     $server_port;
        fastcgi_param   HTTPS off;
        fastcgi_param   REMOTE_ADDR     $http_x_forwarded_for;
        fastcgi_param   APPLICATION_ENV 'dev';
	add_header 'Access-Control-Allow-Origin' '*';
	add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, DELETE, OPTIONS';
        fastcgi_read_timeout 600s;
        internal;
    }

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.