You are on page 1of 1

Craft Installation Instructions

Step 1: Download Craft


Downloading with Composer
Downloading an Archive File Manually
Directory Structure
Step 2: Set the File Permissions
Step 3: Set a Security Key
Set the Key Manually
Set the Key from Your Terminal
Step 4: Create a Database
Step 5: Set up the Web Server
Step 6: Run the Setup Wizard
Terminal Setup
Web Browser Setup

Step 1: Download Craft


Craft can be downloaded with Composer or by manually downloading a zip or tar.gz
archive. The end result will be the same, so go with whichever route you feel more
comfortable with.

Step 2: Set the File Permissions


If you used Composer to download Craft, you can probably safely skip this step.

For Craft to run properly, PHP needs to be able to write to the following places:
.env
composer.json
composer.lock
config/license.key
storage/*
vendor/*
web/cpresources/*
The exact permissions you should be setting depends on the relationship between the
system user that PHP is running as, and who owns the actual folders/files.

If they are the same user, use 744.


If they�re in the same group, then use 774.
If you�re not sure and like to live life on the edge, use 777.

You might also like