Skip to content

Instantly share code, notes, and snippets.

@gitspilo
Last active September 1, 2023 10:33
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gitspilo/2f26d99ed85980680861391119c56bd0 to your computer and use it in GitHub Desktop.
This document is for the Appasna team members only. Please do not share it with anyone else outside the appasna. Document includes the internal tools we use at appasna and helps onboard new developers in the team.
MAC OS Xcode download
https://stackoverflow.com/questions/10335747/how-to-download-xcode-dmg-or-xip-file
Install iterm2
Download and install from here: https://www.iterm2.com/
Install zsh
https://ohmyz.sh/
Install homebrew
https://brew.sh/
Homebrew allows you to install system level packages in mac with `brew install` command
Install nvm
Nvm is the node version manager. You can use it to install and switch between node versions
https://github.com/creationix/nvm
Install node
$ nvm install stable or $nvm install 9.2.0 to install specific version of the node
There is detailed guide line how to control node versions on nvm website
Install yarn
Yarn is the package manager for node.
Install git
Make sure you have git config file setup to have git command shortcuts.
https://gist.github.com/bitshadow/6b593b2d29c922a0819ad01f2fdaedc2
Install insomnia
If you are working on development you can request to the domains via insomnia. This is awesome
Download it from here: https://insomnia.rest/
Install Slack
Download: https://slack.com/downloads/osx
Install sublime/atom/VS code
Sublime: https://www.sublimetext.com/
Atom: https://atom.io/
Sublime packages to install for reference:
https://gist.github.com/bitshadow/e72e366bfcb50fba8c4c4d2fa3ced28f
Set command shortcut for sublime.
https://stackoverflow.com/questions/10892368/problems-using-subl-command-in-terminal-command-not-found-no-such-file-or
Useful sublime packages:
https://gist.github.com/bitshadow/e72e366bfcb50fba8c4c4d2fa3ced28f
Put this in sublime settings:
https://gist.github.com/bitshadow/d00724519563e0857a595a601df2e6ba#file-sublime-settings-js
Setup ~/.gitconfig and ~/.bash_profile to have proper paths for sublime and
Example: https://gist.github.com/bitshadow/9ad010529f006af4d93616733351062e
You can setup alias for projects you are working with `alias`
Setup git completion script
You will need to update ~/.bash_profile and create ~/.bash-completion.sh
https://gist.github.com/bitshadow/0d68fa0d617e3fd6bded
Install Database
Mysql: https://dev.mysql.com/downloads/mysql/ download it from here and search google to run commands in mac.
Pgsql: https://postgresapp.com/ is the easiest way to install postgress. Just install it and start the server
Install Database User interfaces
For Mysql > Sequel Pro : https://www.sequelpro.com/
For PgSQL > Postico https://eggerapps.at/postico/
Set up mysql bin path
export PATH=$PATH:/usr/local/mysql-8.0.12-macos10.13-x86_64/bin
Mysql commands on mac:
$ sudo /usr/local/mysql/support-files/mysql.server start
$ sudo /usr/local/mysql/support-files/mysql.server stop
$ sudo /usr/local/mysql/support-files/mysql.server restart
Stop all running mysql instances:
$ sudo killall mysqld
To run as unsafe mode:
This will allow user to login without password and after login you can set the password
$ sudo mysqld_safe --skip-grant-tables
Login to mysql as root
$ mysql -u root
# Show database list
SHOW DATABASES;
# Create a new Database
CREATE DATABASE mydatabasename;
# Note that starting with MySQL 5.7,
# the validate_password plugin is active by default,
# and prevents you from using an empty password.
# be safe here this will remove password for your sql
UNINSTALL PLUGIN validate_password;
SET PASSWORD FOR root@localhost = PASSWORD('');
~/.my.cnf
Store configuration for mysql like ~/.gitconfig for git
[client]
user = root
password = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment