-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Levi Zitting
committed
Feb 15, 2019
1 parent
de4a2b5
commit cf559f5
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Project Name | ||
|
||
Powered by Craft CMS | ||
|
||
## Software requirements | ||
- node 8 | ||
- npm 6 | ||
- php >= 7.1 | ||
- mysql 5.7 | ||
- composer | ||
|
||
## Setup instructions | ||
|
||
- Copy `.env.example` to `.env` | ||
|
||
- Install php dependencies | ||
|
||
$ composer install | ||
|
||
- Create mysql database and import a SQL dump | ||
- You can get a SQL dump from prod by logging into the admin and going to Utilities > Backup Database | ||
|
||
- Fill in the database credentials in the `.env` file | ||
|
||
- Install frontend dependencies | ||
|
||
$ npm i | ||
|
||
- Build frontend dependencies | ||
|
||
$ npm run build | ||
|
||
- Startup a php server pointing to the web folder | ||
|
||
$ php -S localhost:8000 -t web |