Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #120 from tallgrasschurch/develop
Browse files Browse the repository at this point in the history
v2.4.0
  • Loading branch information
natedillon authored Jun 24, 2022
2 parents 49805d5 + 1eae8e5 commit 5c9a830
Show file tree
Hide file tree
Showing 6 changed files with 1,134 additions and 1,204 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,20 @@ Commit any changes to the repository (including the `composer.lock` file).

**Note:** When updating Drupal, the update command should be run locally, tested, then deployed to the server. Once the changes are deployed, the `composer install` command can be run on the server in order to update the installation. Running the the `composer update` command directly on the server may cause excessive resource usage.

## Theme Development
## Theme development

For theme development, you must have [npm](https://www.npmjs.com/) and [Grunt](https://gruntjs.com/) installed in order to build the static files.
For theme development, you must have [Node Version Manager (nvm)](https://github.com/nvm-sh/nvm) installed in order to build the static files.

Once the requirements are installed, navigate to the `web/themes/custom/tallgrasschurch` directory and install the npm requirements:
Navigate to the `web/themes/custom/tallgrasschurch` directory, and run the `nvm use` command to switch to the project version of [Node.js](https://nodejs.org/) (installing Node.js if needed). Install the npm requirements with the `npm install` command.

```
npm install
```

**Note:** Edit CSS and JavaScript files from the `src` directory. Files in the `css` and `js` directories will be overwritten on build.
**Note:** Edit Sass and JavaScript files from the `src` directory. Files in the `css` and `js` directories will be overwritten on build.

### Grunt Commands
### npm commands

#### `grunt`
#### `npm start`

The default command, which runs `grunt serve`.
Builds the static files and watches for changes.

#### `grunt build`
#### `npm build`

Builds the static files.

#### `grunt serve`

Runs `grunt build` and then watches for changes.
78 changes: 39 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5c9a830

Please sign in to comment.