Coder Social home page Coder Social logo

rozsival / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathiasbynens/dotfiles

1.0 0.0 0.0 899 KB

:wrench: .files, including ~/.macos — sensible development defaults for macOS

License: MIT License

Shell 73.52% GDB 0.02% Vim Script 26.46%

dotfiles's Introduction

Vít’s dotfiles

MacOS dotfiles with sensible web development setup.

Installation

Download

cd; curl -#L https://github.com/rozsival/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh,.osx,LICENSE-MIT.txt}

Disable csrutil

When setting up a new Mac (or clean install) reboot in Recovery Mode, open Terminal and run:

csrutil disable

Reboot back to OS.

Sensible Mac OS defaults

source .macos

Enable csrutil again

Reboot in Recovery Mode and run this in Terminal:

csrutil enable

Reboot back to OS.

Install build tools

xcode-select --install

Install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
source brew.sh

Setup development environment

Node.js

source node.sh

PHP

Follow this awesome manual. Parts with $PATH setup can be skipped, everything is set in .path.

⚠️ Apache configuration should prefer php-fpm over mod_php.

LoadModule proxy_module lib/httpd/modules/mod_proxy.so
LoadModule proxy_fcgi_module lib/httpd/modules/mod_proxy_fcgi.so

<IfModule proxy_fcgi_module>
    <VirtualHost *:*>
        ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://127.0.0.1:9000/<$serverRoot>/$1"
    </VirtualHost>
    <FilesMatch \.php$>
        SetHandler "proxy:fcgi://127.0.0.1:9000"
    </FilesMatch>
</IfModule>

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.