2015-04-16 12:46:52 +02:00
# Scopesessions website
2015-04-16 10:18:08 +02:00
scopesessions.org
2015-04-16 12:46:52 +02:00
2015-04-16 10:18:08 +02:00
* Built with Jekyll
2015-04-16 12:46:52 +02:00
* 1.0.0
2015-04-16 10:18:08 +02:00
* [Learn Markdown ](https://bitbucket.org/tutorials/markdowndemo )
2015-04-16 12:46:52 +02:00
### Development
2015-04-16 10:18:08 +02:00
2015-04-16 12:46:52 +02:00
* Install [Jekyll ](http://jekyllrb.com )
* Clone repository
```
git clone https://acorbi@bitbucket .org/acorbi/scopesessions.org.git
```
* Install dependencies
```
bower install
2016-06-12 17:46:27 +02:00
bundle install
2015-04-16 12:46:52 +02:00
```
* Serve files
2015-04-16 10:18:08 +02:00
```
jekyll serve
2015-04-16 13:30:56 +02:00
# Serve starts a small webserver with your site on http://localhost:4000 for testing
2015-04-16 10:18:08 +02:00
```
2015-04-16 12:46:52 +02:00
* Build files
```
jekyll build
2015-04-16 13:30:56 +02:00
# Build generates the HTML/JS/CSS into _site/
2015-04-16 12:46:52 +02:00
```
2015-04-16 13:30:56 +02:00
* Commit/Push changes to master or other branch. **NOTE** Optimally, all changes would be done in a separated branch and then merged per Pull-Request into master.
```
git add --all .
git commit -m "Changed this and that"
git push
```
### Deployment
* SSH into scopesessions.org and pull the changes from master.
2015-04-16 12:46:52 +02:00
```
cd /var/www/vhosts/scopesessions.org
2015-04-16 13:30:56 +02:00
git checkout master
2015-04-16 12:46:52 +02:00
git pull
```