scopesessions.org/README.md

46 lines
984 B
Markdown
Raw Normal View History

# Scopesessions website
2014-11-30 22:22:17 +00:00
scopesessions.org
2014-11-30 22:22:17 +00:00
* Built with Jekyll
* 1.0.0
2014-11-30 22:22:17 +00:00
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
### Development
2014-11-30 22:22:17 +00: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
```
* Serve files
2014-11-30 22:22:17 +00:00
```
jekyll serve
2015-04-16 13:29:02 +02:00
# Serve starts a small webserver with your site on http://localhost:4000 for testing
2014-11-30 22:22:17 +00:00
```
* Build files
```
jekyll build
2015-04-16 13:29:02 +02:00
# Build generates the HTML/JS/CSS into _site/
```
2015-04-16 13:29:02 +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
```
2015-04-16 13:29:02 +02:00
### Deployment
* SSH into scopesessions.org and pull the changes from master.
```
cd /var/www/vhosts/scopesessions.org
2015-04-16 13:29:02 +02:00
git checkout master
git pull
```