skybirdfs.blogg.se

Installing discord for mac tutorial
Installing discord for mac tutorial












  1. Installing discord for mac tutorial install#
  2. Installing discord for mac tutorial code#
  3. Installing discord for mac tutorial password#
  4. Installing discord for mac tutorial mac#

By default, the document root is configured as /usr/local/var/Search for the term DocumentRoot, and you should see the following line: DocumentRoot "/usr/local/var/www"Ĭhange this to point to your user directory where your_user is the name of your user account: DocumentRoot /Users/your_user/Sites This is the folder where Apache looks to serve file from. Next we'll configure it to use the to change the document root for Apache. However, if you want to use the default TextEditor application to perform edits, you can use the open -e command followed by the path to the file.

Installing discord for mac tutorial code#

If you followed the instructions above you should be able to use Visual Studio Code to edit your files using the code Terminal command. In the latest version of Brew, you have to manually set the listen port from the default of 8080 to 80, so we will need to edit Apache's configuration file /usr/local/etc/httpd/nf. Now that we have a working web server, we will want to do is make some configuration changes so it works better as a local development server.

Installing discord for mac tutorial install#

We can make use of the HomeBrew and install VSCode and the accompanying code CLI command in one shot with: $ brew install -cask visual-studio-code Apache Configuration

Installing discord for mac tutorial mac#

It's available on Mac, Windows, and Linux, but right now we only care about the mac version. So please install the amazingly versatile yet, 100% free, Visual Studio Code. The better solution is to simply install a better editor. However, this is not what I use myself as it's a terrible editor and when testing my guide for Big Sur, I kept running into problems with encoding, finding line numbers etc. In past guides, I've always provided instructions to edit files using the default TextEdit application that comes pre-installed. $ brew services restart httpd Visual Studio Code You can watch the Apache error log in a new Terminal tab/window during a restart to see if anything is invalid or causing a problem: tail -f /usr/local/var/log/httpd/error_logĪpache is controlled via the brew services command so some useful commands to use are: $ brew services stop httpd Try to restart Apache with: brew services restart httpd You should see a few httpd processes if Apache is up and running. If you get a message that the browser can't connect to the server, first check to ensure the server is up. It should already be running, so you can try to reach your server in a browser by pointing it at you should see a simple header that says "It works!". You now have installed Homebrew's Apache, and configured it to auto-start with a privileged account. Now we just need to configure things so that our new Apache server is auto-started brew services start httpd Upon completion you should see a message like: 🍺 /usr/local/Cellar/httpd/2.4.48: 1,660 files, 31.5MB Without options, httpd won't need to be built from source, so it installs pretty quickly. Now we need to install the new version provided by Brew: brew install httpd Sudo launchctl unload -w /System/Library/LaunchDaemons/ 2>/dev/null It really doesn't hurt to just run all these commands in order - even if it's a fresh installation: sudo apachectl stop If you already have the built-in Apache running, it will need to be shutdown first, and any auto-loading scripts removed. However, the solution is to install Apache 2.4 via Homebrew and then configure it to run on the standard ports (80/443). The latest macOS 11.0 Big Sur comes with Apache 2.4 pre-installed, however, it is no longer a simple task to use this version with Homebrew because Apple has removed some required scripts in this release. To make things easier, please simply run this now: brew install openssl Apache Installation

installing discord for mac tutorial

When installing fresh on Big Sur, I ran into a few libraries that were missing when completing all the steps below. It will instruct you if you need to correct anything.

installing discord for mac tutorial

You should probably also run the following command to ensure everything is configured correctly: brew doctor Homebrew/homebrew-core (git revision a8cf30fe79 last commit ) This may take a few minutes, but when complete, a quick way to ensure you have installed brew correctly, simply type: brew -version Homebrew 3.1.9

Installing discord for mac tutorial password#

Just follow the terminal prompts and enter your password where required. This is a simple process, but you need to launch your Terminal ( /Applications/Utilities/Terminal) application and then enter: /bin/bash -c "$(curl -fsSL )" Using the brew command you can easily add powerful functionality to your mac, but first we have to install it. This process relies heavily on the macOS package manager called Homebrew. If you don't already have XCode installed, it's best to first install the command line tools as these will be used by homebrew: xcode-select -install Homebrew Installation If you are a beginner developer, you will be better served using MAMP or MAMP Pro. This guide is intended for experienced web developers.














Installing discord for mac tutorial