2015-04-16 12:46:52 +02:00
# Scopesessions website
2014-11-30 22:22:17 +00:00
scopesessions.org
2015-04-16 12:46:52 +02:00
2014-11-30 22:22:17 +00:00
* Built with Jekyll
2015-04-16 12:46:52 +02:00
* 1.0.0
2014-11-30 22:22:17 +00:00
* [Learn Markdown ](https://bitbucket.org/tutorials/markdowndemo )
2015-04-16 12:46:52 +02:00
### Development
2014-11-30 22:22:17 +00:00
2015-04-16 12:46:52 +02:00
```
git clone https://acorbi@bitbucket .org/acorbi/scopesessions.org.git
```
* Install dependencies
```
2019-10-08 10:48:55 +02:00
sudo apt-get install jekyll
sudo gem install bundle
sudo bundle install
2015-04-16 12:46:52 +02:00
```
* 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
```
2015-04-16 12:46:52 +02:00
* Build files
```
jekyll build
2015-04-16 13:29:02 +02:00
# Build generates the HTML/JS/CSS into _site/
2015-04-16 12:46:52 +02:00
```
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.
2015-04-16 13:02:15 +02:00
```
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.
2015-04-16 12:46:52 +02:00
```
cd /var/www/vhosts/scopesessions.org
2015-04-16 13:29:02 +02:00
git checkout master
2015-04-16 12:46:52 +02:00
git pull
```