Skip to content

Commit b8e68fa

Browse files
committed
DEVELOPMENT: Added development file
1 parent efa2e41 commit b8e68fa

File tree

2 files changed

+45
-44
lines changed

2 files changed

+45
-44
lines changed

DEVELOPMENT.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Development
2+
3+
## Setting up the repository
4+
5+
Install, on Ubuntu:
6+
7+
``` bash
8+
sudo apt install ruby-full
9+
```
10+
11+
Add to ~/.bashrc
12+
13+
``` bash
14+
export GEM_HOME=$HOME/.gem
15+
export GEM_PATH=$HOME/.gem
16+
```
17+
18+
For working with ruby it is encouraged to use [rbenv](https://github.com/rbenv/rbenv)
19+
and [Bundler](https://bundler.io/) for painless Ruby upgrades and environment.
20+
21+
22+
``` bash
23+
# install with curl
24+
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
25+
# Install rbenv for managing enabling of multiple rubies.
26+
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
27+
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
28+
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
29+
exec $SHELL
30+
rbenv install 2.7.1
31+
rbenv local 2.7.1
32+
```
33+
34+
More details at:
35+
https://www.ruby-lang.org/en/downloads/
36+
https://github.com/rbenv/rbenv
37+
38+
## Executing the blog locally
39+
40+
Not necessary anymore
41+
42+
``` bash
43+
bundle exec jekyll new --force --skip-bundle .
44+
bundle install
45+
```

README.md

-44
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
11
# POC.github.io
22

33
POC de github page official for Tecnocratas digitales
4-
5-
## Setting up ruby
6-
7-
Install, on Ubuntu:
8-
9-
``` bash
10-
sudo apt install ruby-full
11-
```
12-
13-
Add to ~/.bashrc
14-
15-
``` bash
16-
export GEM_HOME=$HOME/.gem
17-
export GEM_PATH=$HOME/.gem
18-
```
19-
20-
For working with ruby it is encouraged to use [rbenv](https://github.com/rbenv/rbenv)
21-
and [Bundler](https://bundler.io/) for painless Ruby upgrades and environment.
22-
23-
24-
``` bash
25-
# install with curl
26-
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
27-
# Install rbenv for managing enabling of multiple rubies.
28-
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
29-
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
30-
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
31-
exec $SHELL
32-
rbenv install 2.7.1
33-
rbenv local 2.7.1
34-
```
35-
36-
More details at:
37-
https://www.ruby-lang.org/en/downloads/
38-
https://github.com/rbenv/rbenv
39-
40-
## Done steps
41-
42-
Not necessary anymore
43-
44-
``` bash
45-
bundle exec jekyll new --force --skip-bundle .
46-
bundle install
47-
```

0 commit comments

Comments
 (0)