https://github.com/flightlessmango/flightlessmango.com
https://github.com/flightlessmango/flightlessmango.com
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/flightlessmango/flightlessmango.com
- Owner: flightlessmango
- Created: 2019-11-12T23:51:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T15:52:12.000Z (over 3 years ago)
- Last Synced: 2025-04-13T00:43:01.152Z (about 1 year ago)
- Language: CSS
- Size: 5.2 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy
- `git clone https://github.com/flightlessmango/flightlessmango.com && cd flightlessmango.com`
- install rvm `\curl -sSL https://get.rvm.io | bash`
- install `gcc make postgresql yarn python2`
- install ruby `rvm install ruby-2.6.4`
- restart the shell to make rvm work as inteded
- switch to projects ruby version `rvm use 2.6.4`
- install the ruby gems `bundle`
- some more dependencies `yarn`
- add some required folders `mkdir -p shared/log shared/pids shared/sockets`
- initialize postgresql and create a user `https://wiki.archlinux.org/index.php/PostgreSQL#Initial_configuration`
- load database migrations `rake db:setup`
- run the server `rails s`
- open rails console `rails c`
- create an admin user `User.create(email: "admin@admin.com", username: "admin", admin: true, password: "1234")`
- connect `127.0.0.1:3000`