Old codebase for linkpearl.net
- Ruby 74.4%
- HTML 21.7%
- Puppet 1.3%
- SCSS 1.2%
- JavaScript 1.1%
- Other 0.3%
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| log | ||
| provisioning | ||
| public | ||
| test | ||
| vendor/assets | ||
| .gitignore | ||
| .ruby-version | ||
| Capfile | ||
| config.ru | ||
| export_service.sh | ||
| Gemfile | ||
| Gemfile.lock | ||
| linkpearl.sublime-project | ||
| Procfile | ||
| Rakefile | ||
| README.md | ||
| Vagrantfile | ||
Linkpearl
Description should probably go here, bla bla, I'm tired.
Requirements
- Vagrant
- VirtualBox, or VMware Fusion (mac) / Workstation (windows, linux) + this plugin
Installation
Create the virtual machine:
vagrant up
# this can take a while...
vagrant ssh
cd /vagrant
Set up the application:
bundle install
rake db:migrate
Run a development server, complete with a task queue, etc:
bundle exec foreman start
Access it at http://localhost:5000, and register an account.
Then promote yourself to admin:
rake 'promote[youremail@example.com]'
Upgrading
vagrant provision
vagrant ssh
cd /vagrant
bundle install
rake db:migrate