Read the Documentation | How to Contribute | Workflow
This repository contains nearly the entire http://dentonbible.org website with the exception of configuration files and media uploads. See below for more.
First, you will need Git installed on your computer. These guides will help you get setup:
Once finished with these steps you'll be able to make file changes, commit and push to the repository, but you won't have a database yet or any DBC content.
Request configuration files from [email protected]. With these files you'll instantly be linked to the staging database and be able to run the website locally.
- Install a local server like MAMP, WAMP, or XAMPP.
- Edit your
hosts
file to point127.0.0.1
tolocal.dentonbible.org
. - Edit the Apache
httpd.conf
file and uncomment theInclude conf/extra/httpd-vhosts.conf
line, if not already. - Add the following to the
httpd-vhosts.conf
file:
<VirtualHost *:80>
DocumentRoot "path/to/where/you/want/the/repository"
ServerName local.dentonbible.org
ServerAlias local.dentonbible.org admin.local.dentonbible.org
<Directory "path/to/where/you/want/the/repository">
Options Indexes FollowSymLinks ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
```
5. Start (or restart) Apache.
### Clone and initiate the repository
Open up Terminal
$ cd path/to/where/you/want/the/repository
$ git clone https://github.com/Denton-Bible-Church/Website.git
$ git submodule init
$ git submodule update
$ cd wp
$ git pull