24 lines
870 B
Markdown
24 lines
870 B
Markdown
# The data.coop website
|
|
|
|
## Building the site
|
|
|
|
The site is built using [Jekyll](https://jekyllrb.com)
|
|
The simplest way to work with the site and code is to use Docker.
|
|
|
|
```
|
|
git clone https://git.data.coop/data.coop/website.git data.coop
|
|
cd data.coop
|
|
docker-compose up
|
|
```
|
|
|
|
This will fire up the website inside a Docker container and start listening on port 4000.
|
|
Simply connect your browser to http://localhost:4000 and you're good to go. In development
|
|
mode, the site has the [jekyll:livereload](https://github.com/RobertDeRose/jekyll-livereload) extension enabled, allowing you to see your changes immediately
|
|
upon saving files in the source directory.
|
|
|
|
## Deploying the site
|
|
For now, just push to the git repo in root's homedir on the server. This will trigger the deployment.
|
|
```
|
|
git remote add live ssh://root@data.coop:/root/datacoop.git
|
|
git push live
|
|
``` |