Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
Craft 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jul 9, 2019
1 parent 26f0788 commit 97b3a00
Show file tree
Hide file tree
Showing 6 changed files with 9,175 additions and 763 deletions.
9 changes: 9 additions & 0 deletions .env.example
Expand Up @@ -27,3 +27,12 @@ DB_TABLE_PREFIX=""

# The port to connect to the database with. Will default to 5432 for PostgreSQL and 3306 for MySQL.
DB_PORT=""

# The base site URL
SITE_URL="http://happylager.test"

# The asset base path
ASSET_BASE_PATH="./assets"

# The asset base URL
ASSET_BASE_URL="/assets"
18 changes: 3 additions & 15 deletions README.md
Expand Up @@ -79,20 +79,8 @@ If you want to install the site locally, follow these instructions:
cd happylager.test
composer install
```

3. Create a `.env` file at the root of the project with the following contents, and then update the `DB_USER` and `DB_PASSWORD` values to your database user’s credentials.

```dotenv
ENVIRONMENT="dev"
SECURITY_KEY="GoplVO9SzWSYLIvNuDBQP9M-LEJN5EWA"
DB_DRIVER="mysql"
DB_SERVER="localhost"
DB_USER=""
DB_PASSWORD=""
DB_DATABASE="happylager"
DB_TABLE_PREFIX=""
DB_PORT="3306"
```

3. Copy the `.env.example` file at the root of the project to `.env`, and set its `DB_SERVER`, `DB_USER`, and `DB_PASSWORD` variables to the correct values. (If you’re on a Mac, you may need to type <kbd>Command</kbd> + <kbd>Shift</kbd> + <kbd>.</kbd> in Finder to show hidden files.)

4. Ensure that the following files and directories have permissions that will allow PHP to read and write to them:

Expand All @@ -108,7 +96,7 @@ If you want to install the site locally, follow these instructions:

6. Create a new virtual host with the hostname `happylager.test` that points to the `happylager.test/web/` folder.

7. Edit your hosts file to resolve `happylager.test` to `127.0.0.1`, if necessary.
7. Edit your `hosts` file to resolve `happylager.test` to `127.0.0.1`, if necessary.

Now point your browser at `http://happylager.test`. You should see the Happy Lager homepage.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -20,7 +20,7 @@
},
"require": {
"php": ">=7.0.0",
"craftcms/cms": "^3.0.0",
"craftcms/cms": "dev-develop#abb316bba0ca2b36bdb18a2d4bacefaaff019458 as 3.2.0",
"vlucas/phpdotenv": "^2.4.0",
"craftcms/redactor": "^2.0.0"
},
Expand Down

0 comments on commit 97b3a00

Please sign in to comment.