44 lines
968 B
Markdown
44 lines
968 B
Markdown
# Scopesessions website
|
|
|
|
scopesessions.org
|
|
|
|
* Built with Jekyll
|
|
* 1.0.0
|
|
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
|
|
|
|
### Development
|
|
|
|
* Install [Jekyll](http://jekyllrb.com)
|
|
* Clone repository
|
|
```
|
|
git clone https://acorbi@bitbucket.org/acorbi/scopesessions.org.git
|
|
```
|
|
* Install dependencies
|
|
```
|
|
bower install
|
|
```
|
|
* Serve files
|
|
```
|
|
jekyll serve
|
|
# Serve starts a small webserver with your site on http://localhost:4000 for testing
|
|
```
|
|
* Build files
|
|
```
|
|
jekyll build
|
|
# Build generates the HTML/JS/CSS into _site/
|
|
```
|
|
* 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.
|
|
```
|
|
cd /var/www/vhosts/scopesessions.org
|
|
git checkout master
|
|
git pull
|
|
```
|