Skip to content

Commit 09f04cc

Browse files
authored
Merge pull request #2 from ubc-web-services/develop
Create LOCALTESTING.md
2 parents 7bf90d6 + 53fd9a9 commit 09f04cc

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

LOCALTESTING.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Local Testing
2+
------------
3+
4+
Setup your local environment with [DDEV]. This project leverages the
5+
[DDEV Drupal Contrib] plugin.
6+
7+
1. [Install DDEV] with a [Docker provider].
8+
2. Clone this project's repository
9+
10+
git clone [email protected]:ubc-web-services/ubc_cwl_auth.git
11+
cd ubc_cwl_auth
12+
13+
3. Startup DDEV.
14+
15+
ddev start
16+
17+
4. Install composer dependencies.
18+
19+
ddev poser
20+
21+
Note: `ddev poser` is shorthand for `ddev composer` to add in Drupal core dependencies
22+
without needing to modify the root composer.json. Find out more in DDEV Drupal Contrib
23+
[commands].
24+
25+
4. Symlink the theme into the `web/themes/custom` directory.
26+
27+
ddev symlink-project
28+
29+
30+
6. Install Drupal and set the theme.
31+
32+
ddev install
33+
34+
7. Visit site in browser.
35+
36+
ddev describe
37+
38+
Or, login as user 1:
39+
40+
ddev drush uli

0 commit comments

Comments
 (0)