This is the last week of hackership, it has been an intense time until nowÂ and still is not over!!
During the weekend my computer decided to take a rest again, but now no idea if it will recover, so first thing in the morning was to take it to Batman elektronik.
A really great place to go, even just to take a look 🙂
So is kind of strange to start the last week, setting up the environment. I’ll do a summary of how, since there are steps that I had forgotten. Mainly the process is to install RVM with Ruby and then install Rails.
First you need to install curl, I'm working with Ubuntu, so
apt-get install curlThen RVM with ruby
curl -sSL https://get.rvm.io | bash -s stable --ruby
gem install rails
You want to begin to play around with Rails and you may find that RVM does not respond. To get rvm working you need a login-shell
Then you want to start rails server, for example, and you get an error
so first you add to your source list the node.js repository
sudo add-apt-repository ppa:chris-lea/node.js
Then you update your packages
sudo apt-get -y update
Then you install node.js
sudo apt-get -y install nodejs
Now, time to start to work, but then you realiye that it was great to have been pushing to github, so you don’t loose the code you’ve been writing but of course not all the code is in the repository, secret_token is not there and the database.yml neither
While remembering where and how it worked the secret_token, how to generate a new one, best practices, it was a good time to improve the “how” so did some reading, a better way to manageÂ the rails secret-token. So now I have my config/initialiyers/secret_token.rb and my config/secret.ymlÂ which I added to the .gitignore file, so that I don’t commit it in git.
2 thoughts on “Starting week 6 Batman with JS framworks and re-installation #hackership”
Starting week 6 Batman with JS framworks and re-installation #hackership http://t.co/cWqZhRkqwb
RT @lilithlela: Starting week 6 Batman with JS framworks and re-installation #hackership http://t.co/cWqZhRkqwb
Comments are closed.