Coder Social home page Coder Social logo

dougo / steak-place Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 43.7 MB

My personal website.

Home Page: http://steak.place.org/

License: GNU Affero General Public License v3.0

Ruby 0.12% JavaScript 33.71% CSS 0.35% Scheme 3.85% Racket 0.09% TeX 5.97% Perl 0.33% Makefile 0.01% Java 0.32% GAP 0.04% Shell 0.01% C 0.01% Emacs Lisp 0.01% HTML 50.57% Python 0.01% PostScript 4.62% Raku 0.01%

steak-place's Introduction

The Steak Place

Doug Orleans's personal website. Currently runs on Racket Web Server, but in the process of being converted to Ruby on Rails.

Steps to install on a new server (from this directory):

  1. You may need to edit some config files if this directory is not in /home/dougo/steak-place.
  2. sudo apt-get install libssl-dev libreadline-dev libsqlite3-dev nodejs racket
  3. Install rbenv and rbenv-install: https://github.com/rbenv/rbenv#installation
  4. rbenv install 2.3.0 (or something later)
  5. Install rbenv-vars: git clone https://github.com/rbenv/rbenv-vars.git ~/.rbenv/plugins/rbenv-vars
  6. Install Phusion Passenger: https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/trusty/install_passenger.html
  7. sudo ln -s /home/dougo/steak-place/plt-web-server /etc/init.d
  8. sudo update-rc.d plt-web-server defaults
  9. sudo service plt-web-server start
  10. sudo ln -s /home/dougo/steak-place/nginx /etc/nginx/sites-available/steak-place
  11. sudo ln -s ../sites-available/steak-place /etc/nginx/sites-enabled
  12. sudo rm /etc/nginx/sites-enabled/default
  13. sudo service nginx restart
  14. bundle
  15. echo "SECRET_KEY_BASE=rake secret" > .rbenv-vars

Steps to deploy a new release:

  1. git pull
  2. git submodule update --remote
  3. bundle
  4. RAILS_ENV=production rails assets:precompile
  5. passenger-config restart-app .

steak-place's People

Contributors

dependabot[bot] avatar dougo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.