scopesessions.org/README.md

47 lines
933 B
Markdown
Raw Normal View History

2015-04-16 12:50:28 +02:00
# Scopesessions website
2014-11-30 22:22:17 +00:00
scopesessions.org
2015-04-16 12:50:28 +02:00
2014-11-30 22:22:17 +00:00
* Built with Jekyll
2015-04-16 12:50:28 +02:00
* 1.0.0
2014-11-30 22:22:17 +00:00
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
2015-04-16 12:50:28 +02:00
**NOTE:** There are two branches:
* dev: development branch, merge to master when production-ready
* master: production code, always keep functional and error-free
### Development
2014-11-30 22:22:17 +00:00
2015-04-16 12:50:28 +02:00
* Install [Jekyll](http://jekyllrb.com)
* Clone repository
```
git clone https://acorbi@bitbucket.org/acorbi/scopesessions.org.git
```
* Install dependencies
```
bower install
```
* Serve files
2014-11-30 22:22:17 +00:00
```
jekyll serve
```
2015-04-16 12:50:28 +02:00
* If changes in dev or other branch want to be published, first they need to be merged with on master branch
```
git checkout master
git merge dev
git commit -m "MESSAGE"
git push
```
### Deployment
* Build files
```
jekyll build
```
* SSH into scopesessions.org and pull the changes from master
```
cd /var/www/vhosts/scopesessions.org
git pull
```