mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Compare commits
24 Commits
b5d6db25a6
...
f069bb7b12
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f069bb7b12 | ||
| bd42bfb2db | |||
| ba7a83c902 | |||
| c45e78d4d4 | |||
|
|
bac834a432 | ||
| b375b2a8bb | |||
|
|
0b07d58640 | ||
| 645ede057f | |||
|
|
c10a3f220d | ||
| 84b45932d5 | |||
|
|
6c6d24db74 | ||
| 376e449752 | |||
| 6b720382e6 | |||
| 28fec5cf55 | |||
|
|
451d2f9eab | ||
|
|
b2b786ce76 | ||
|
|
17328e7889 | ||
| 1d2bde3c86 | |||
| 3f710f4266 | |||
| 36d6a7ab33 | |||
| 5838a2f9a1 | |||
| 4037724380 | |||
| 64729ad773 | |||
|
|
7346e70536 |
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -8,18 +8,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: ['2.7', '3.0', '3.1']
|
||||
ruby: ["3.0", "3.1", "3.2"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Ruby ${{ matrix.ruby }}
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: "18"
|
||||
- name: Install dependencies
|
||||
run: bundle install --without production
|
||||
- name: Run tests
|
||||
|
||||
21
Gemfile
21
Gemfile
@ -2,13 +2,13 @@ source 'https://rubygems.org'
|
||||
|
||||
|
||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||
gem 'rails', '7.0.4'
|
||||
gem 'rails', '~> 7.0.4', '>= 7.0.4.3'
|
||||
# Use Puma as the app server
|
||||
gem 'puma', '~> 6.0'
|
||||
gem 'puma', '~> 6.2'
|
||||
# Use sqlite3 as the database for Active Record
|
||||
gem 'sqlite3', '~> 1.5.3'
|
||||
gem 'sqlite3', '~> 1.6.2'
|
||||
|
||||
gem 'mysql2', '~> 0.5.2', group: :production
|
||||
gem 'mysql2', '~> 0.5.5', group: :production
|
||||
|
||||
gem 'bootsnap', require: false
|
||||
|
||||
@ -34,14 +34,14 @@ gem 'turbolinks', '~> 5.2.1'
|
||||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
||||
gem 'jbuilder', '~> 2.11.3'
|
||||
# bundle exec rake doc:rails generates the API under doc/api.
|
||||
gem 'sdoc', '~> 2.4.0', group: :doc
|
||||
gem 'sdoc', '~> 2.6.1', group: :doc
|
||||
|
||||
gem 'web-console', '~> 4.2.0', group: :development
|
||||
gem 'listen', '~> 3.7.0', group: :development
|
||||
|
||||
gem 'bootstrap', '~> 5.1.3'
|
||||
gem 'bootstrap', '~> 5.2.3'
|
||||
gem "bootstrap_form", "~> 5.1"
|
||||
gem 'font-awesome-sass', '~> 6.2.1'
|
||||
gem 'font-awesome-sass', '~> 6.4.0'
|
||||
|
||||
# Use Diffy for showing translation diffs
|
||||
gem 'diffy'
|
||||
@ -69,10 +69,3 @@ gem 'omniauth-github'
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
|
||||
|
||||
# Silence net protocol warnings
|
||||
# See https://github.com/rails/rails/pull/44175
|
||||
gem 'net-http'
|
||||
gem 'uri', '0.10.0'
|
||||
gem 'strscan', '3.0.1'
|
||||
gem 'stringio', '3.0.5'
|
||||
|
||||
219
Gemfile.lock
219
Gemfile.lock
@ -1,82 +1,82 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
actioncable (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actioncable (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
nio4r (~> 2.0)
|
||||
websocket-driver (>= 0.6.1)
|
||||
actionmailbox (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
activejob (= 7.0.4)
|
||||
activerecord (= 7.0.4)
|
||||
activestorage (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actionmailbox (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
activejob (= 7.0.4.3)
|
||||
activerecord (= 7.0.4.3)
|
||||
activestorage (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
mail (>= 2.7.1)
|
||||
net-imap
|
||||
net-pop
|
||||
net-smtp
|
||||
actionmailer (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
actionview (= 7.0.4)
|
||||
activejob (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actionmailer (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
actionview (= 7.0.4.3)
|
||||
activejob (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
mail (~> 2.5, >= 2.5.4)
|
||||
net-imap
|
||||
net-pop
|
||||
net-smtp
|
||||
rails-dom-testing (~> 2.0)
|
||||
actionpack (7.0.4)
|
||||
actionview (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actionpack (7.0.4.3)
|
||||
actionview (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
rack (~> 2.0, >= 2.2.0)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||
actiontext (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
activerecord (= 7.0.4)
|
||||
activestorage (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actiontext (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
activerecord (= 7.0.4.3)
|
||||
activestorage (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
globalid (>= 0.6.0)
|
||||
nokogiri (>= 1.8.5)
|
||||
actionview (7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
actionview (7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.4)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||
activejob (7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
activejob (7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
globalid (>= 0.3.6)
|
||||
activemodel (7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
activerecord (7.0.4)
|
||||
activemodel (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
activestorage (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
activejob (= 7.0.4)
|
||||
activerecord (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
activemodel (7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
activerecord (7.0.4.3)
|
||||
activemodel (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
activestorage (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
activejob (= 7.0.4.3)
|
||||
activerecord (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
marcel (~> 1.0)
|
||||
mini_mime (>= 1.1.0)
|
||||
activesupport (7.0.4)
|
||||
activesupport (7.0.4.3)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
autoprefixer-rails (10.4.2.0)
|
||||
addressable (2.8.4)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
autoprefixer-rails (10.4.13.0)
|
||||
execjs (~> 2)
|
||||
bcrypt (3.1.16)
|
||||
bindex (0.8.1)
|
||||
bootsnap (1.16.0)
|
||||
msgpack (~> 1.2)
|
||||
bootstrap (5.1.3)
|
||||
bootstrap (5.2.3)
|
||||
autoprefixer-rails (>= 9.1.0)
|
||||
popper_js (>= 2.9.3, < 3)
|
||||
popper_js (>= 2.11.6, < 3)
|
||||
sassc-rails (>= 2.0.0)
|
||||
bootstrap_form (5.1.0)
|
||||
actionpack (>= 5.2)
|
||||
@ -89,10 +89,11 @@ GEM
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.12.2)
|
||||
concurrent-ruby (1.2.0)
|
||||
concurrent-ruby (1.2.2)
|
||||
crack (0.4.5)
|
||||
rexml
|
||||
crass (1.0.6)
|
||||
date (3.3.3)
|
||||
devise (4.8.1)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
@ -101,7 +102,6 @@ GEM
|
||||
warden (~> 1.2.3)
|
||||
diff-lcs (1.5.0)
|
||||
diffy (3.4.2)
|
||||
digest (3.1.0)
|
||||
erubi (1.12.0)
|
||||
execjs (2.8.1)
|
||||
faraday (1.9.3)
|
||||
@ -128,13 +128,13 @@ GEM
|
||||
faraday-rack (1.0.0)
|
||||
faraday-retry (1.0.3)
|
||||
ffi (1.15.5)
|
||||
font-awesome-sass (6.2.1)
|
||||
font-awesome-sass (6.4.0)
|
||||
sassc (~> 2.0)
|
||||
globalid (1.0.1)
|
||||
globalid (1.1.0)
|
||||
activesupport (>= 5.0)
|
||||
hashdiff (1.0.1)
|
||||
hashie (5.0.0)
|
||||
i18n (1.12.0)
|
||||
i18n (1.13.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jbuilder (2.11.5)
|
||||
actionview (>= 5.0.0)
|
||||
@ -147,40 +147,35 @@ GEM
|
||||
listen (3.7.1)
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
loofah (2.19.1)
|
||||
loofah (2.20.0)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.7.1)
|
||||
mail (2.8.1)
|
||||
mini_mime (>= 0.1.1)
|
||||
net-imap
|
||||
net-pop
|
||||
net-smtp
|
||||
marcel (1.0.2)
|
||||
method_source (1.0.0)
|
||||
mini_mime (1.1.2)
|
||||
mini_portile2 (2.8.1)
|
||||
minitest (5.17.0)
|
||||
mini_portile2 (2.8.2)
|
||||
minitest (5.18.0)
|
||||
msgpack (1.6.0)
|
||||
multi_json (1.15.0)
|
||||
multi_xml (0.6.0)
|
||||
multipart-post (2.1.1)
|
||||
mysql2 (0.5.3)
|
||||
net-http (0.2.0)
|
||||
mysql2 (0.5.5)
|
||||
net-imap (0.3.4)
|
||||
date
|
||||
net-protocol
|
||||
uri
|
||||
net-imap (0.2.3)
|
||||
digest
|
||||
net-protocol
|
||||
strscan
|
||||
net-pop (0.1.1)
|
||||
digest
|
||||
net-pop (0.1.2)
|
||||
net-protocol
|
||||
net-protocol (0.2.1)
|
||||
timeout
|
||||
net-protocol (0.1.3)
|
||||
timeout
|
||||
net-smtp (0.3.1)
|
||||
digest
|
||||
net-smtp (0.3.3)
|
||||
net-protocol
|
||||
timeout
|
||||
nio4r (2.5.8)
|
||||
nokogiri (1.14.2)
|
||||
nio4r (2.5.9)
|
||||
nokogiri (1.14.3)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
racc (~> 1.4)
|
||||
oauth2 (1.4.7)
|
||||
@ -189,7 +184,7 @@ GEM
|
||||
multi_json (~> 1.3)
|
||||
multi_xml (~> 0.5)
|
||||
rack (>= 1.2, < 3)
|
||||
omniauth (2.1.0)
|
||||
omniauth (2.1.1)
|
||||
hashie (>= 3.4.6)
|
||||
rack (>= 2.2.3)
|
||||
rack-protection
|
||||
@ -203,32 +198,32 @@ GEM
|
||||
actionpack (>= 4.2)
|
||||
omniauth (~> 2.0)
|
||||
orm_adapter (0.5.0)
|
||||
popper_js (2.9.3)
|
||||
psych (4.0.6)
|
||||
popper_js (2.11.7)
|
||||
psych (5.1.0)
|
||||
stringio
|
||||
public_suffix (4.0.6)
|
||||
puma (6.0.0)
|
||||
public_suffix (5.0.1)
|
||||
puma (6.2.2)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.6.2)
|
||||
rack (2.2.6.2)
|
||||
rack-protection (3.0.3)
|
||||
rack (2.2.7)
|
||||
rack-protection (3.0.6)
|
||||
rack
|
||||
rack-test (2.0.2)
|
||||
rack-test (2.1.0)
|
||||
rack (>= 1.3)
|
||||
rails (7.0.4)
|
||||
actioncable (= 7.0.4)
|
||||
actionmailbox (= 7.0.4)
|
||||
actionmailer (= 7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
actiontext (= 7.0.4)
|
||||
actionview (= 7.0.4)
|
||||
activejob (= 7.0.4)
|
||||
activemodel (= 7.0.4)
|
||||
activerecord (= 7.0.4)
|
||||
activestorage (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
rails (7.0.4.3)
|
||||
actioncable (= 7.0.4.3)
|
||||
actionmailbox (= 7.0.4.3)
|
||||
actionmailer (= 7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
actiontext (= 7.0.4.3)
|
||||
actionview (= 7.0.4.3)
|
||||
activejob (= 7.0.4.3)
|
||||
activemodel (= 7.0.4.3)
|
||||
activerecord (= 7.0.4.3)
|
||||
activestorage (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
bundler (>= 1.15.0)
|
||||
railties (= 7.0.4)
|
||||
railties (= 7.0.4.3)
|
||||
rails-controller-testing (1.0.5)
|
||||
actionpack (>= 5.0.1.rc1)
|
||||
actionview (>= 5.0.1.rc1)
|
||||
@ -241,9 +236,9 @@ GEM
|
||||
rails-i18n (7.0.6)
|
||||
i18n (>= 0.7, < 2)
|
||||
railties (>= 6.0.0, < 8)
|
||||
railties (7.0.4)
|
||||
actionpack (= 7.0.4)
|
||||
activesupport (= 7.0.4)
|
||||
railties (7.0.4.3)
|
||||
actionpack (= 7.0.4.3)
|
||||
activesupport (= 7.0.4.3)
|
||||
method_source
|
||||
rake (>= 12.2)
|
||||
thor (~> 1.0)
|
||||
@ -252,7 +247,7 @@ GEM
|
||||
rb-fsevent (0.11.0)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rdoc (6.4.0)
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
responders (3.0.1)
|
||||
actionpack (>= 5.0)
|
||||
@ -267,22 +262,21 @@ GEM
|
||||
sprockets (> 3.0)
|
||||
sprockets-rails
|
||||
tilt
|
||||
sdoc (2.4.0)
|
||||
sdoc (2.6.1)
|
||||
rdoc (>= 5.0)
|
||||
sprockets (4.0.2)
|
||||
sprockets (4.2.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (> 1, < 3)
|
||||
rack (>= 2.2.4, < 4)
|
||||
sprockets-rails (3.4.2)
|
||||
actionpack (>= 5.2)
|
||||
activesupport (>= 5.2)
|
||||
sprockets (>= 3.0.0)
|
||||
sqlite3 (1.5.3)
|
||||
sqlite3 (1.6.2)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
stringio (3.0.5)
|
||||
strscan (3.0.1)
|
||||
stringio (3.0.6)
|
||||
thor (1.2.1)
|
||||
tilt (2.0.10)
|
||||
timeout (0.3.0)
|
||||
tilt (2.1.0)
|
||||
timeout (0.3.2)
|
||||
turbolinks (5.2.1)
|
||||
turbolinks-source (~> 5.2)
|
||||
turbolinks-source (5.2.0)
|
||||
@ -290,7 +284,6 @@ GEM
|
||||
concurrent-ruby (~> 1.0)
|
||||
uglifier (4.2.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
uri (0.10.0)
|
||||
warden (1.2.9)
|
||||
rack (>= 2.0.9)
|
||||
web-console (4.2.0)
|
||||
@ -298,7 +291,7 @@ GEM
|
||||
activemodel (>= 6.0.0)
|
||||
bindex (>= 0.4.0)
|
||||
railties (>= 6.0.0)
|
||||
webmock (3.14.0)
|
||||
webmock (3.18.1)
|
||||
addressable (>= 2.8.0)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
@ -308,45 +301,41 @@ GEM
|
||||
will_paginate (3.3.1)
|
||||
will_paginate-bootstrap4 (0.2.2)
|
||||
will_paginate (~> 3.0, >= 3.0.0)
|
||||
zeitwerk (2.6.7)
|
||||
zeitwerk (2.6.8)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bootsnap
|
||||
bootstrap (~> 5.1.3)
|
||||
bootstrap (~> 5.2.3)
|
||||
bootstrap_form (~> 5.1)
|
||||
coffee-rails (~> 5.0.0)
|
||||
devise (~> 4.8.0)
|
||||
diff-lcs
|
||||
diffy
|
||||
font-awesome-sass (~> 6.2.1)
|
||||
font-awesome-sass (~> 6.4.0)
|
||||
jbuilder (~> 2.11.3)
|
||||
jquery-rails (~> 4.5.1)
|
||||
listen (~> 3.7.0)
|
||||
mysql2 (~> 0.5.2)
|
||||
net-http
|
||||
mysql2 (~> 0.5.5)
|
||||
omniauth
|
||||
omniauth-github
|
||||
omniauth-rails_csrf_protection
|
||||
puma (~> 6.0)
|
||||
rails (= 7.0.4)
|
||||
puma (~> 6.2)
|
||||
rails (~> 7.0.4, >= 7.0.4.3)
|
||||
rails-controller-testing
|
||||
rails-i18n (~> 7.0.6)
|
||||
sassc-rails (~> 2.1.2)
|
||||
sdoc (~> 2.4.0)
|
||||
sqlite3 (~> 1.5.3)
|
||||
stringio (= 3.0.5)
|
||||
strscan (= 3.0.1)
|
||||
sdoc (~> 2.6.1)
|
||||
sqlite3 (~> 1.6.2)
|
||||
turbolinks (~> 5.2.1)
|
||||
tzinfo-data
|
||||
uglifier (~> 4.2.0)
|
||||
uri (= 0.10.0)
|
||||
web-console (~> 4.2.0)
|
||||
webmock
|
||||
will_paginate (~> 3.3.1)
|
||||
will_paginate-bootstrap4 (~> 0.2.2)
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.25
|
||||
2.4.10
|
||||
|
||||
23
README.md
23
README.md
@ -1,5 +1,4 @@
|
||||
Projekt Euler
|
||||
=============
|
||||
# Projekt Euler
|
||||
|
||||

|
||||
|
||||
@ -7,13 +6,12 @@ This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteule
|
||||
It allows visitors to view and suggest German translations of the maths puzzles found on [projecteuler.net](https://projecteuler.net).
|
||||
|
||||
## Getting started
|
||||
|
||||
1. Download this repository, e.g., with `git clone`.
|
||||
2. Make sure [NodeJS](https://nodejs.org) is installed.
|
||||
2. Make sure [NodeJS >= 18](https://nodejs.org) is installed.
|
||||
3. Navigate inside the repository folder.
|
||||
4. Use bundler to install all required gems.
|
||||
|
||||
$ bundle install
|
||||
|
||||
5. Setup the database:
|
||||
|
||||
$ bin/rails db:setup
|
||||
@ -28,9 +26,11 @@ You can login as any user by clicking the Login button and entering their name.
|
||||
9. If you ever want to reset the database to the original state, run `rails db:reset`.
|
||||
|
||||
## Contributing
|
||||
|
||||
Do you have a suggestion for an improvement for the web app? Please create an [issue](https://github.com/projekteuler/projekteuler/issues) for it.
|
||||
|
||||
Do you want to implement this improvement yourself? Follow these steps:
|
||||
|
||||
1. Fork this repository on GitHub.
|
||||
2. Create a new branch for your improvement
|
||||
3. Implement your improvement, and create tests for it if applicable.
|
||||
@ -43,12 +43,12 @@ Do you want to implement this improvement yourself? Follow these steps:
|
||||
3. Copy all files from this repository.
|
||||
4. Make sure the Rails environment is set to `production`.
|
||||
5. Set up the following environment variables:
|
||||
* `RAILS_MASTER_KEY`: The master key for decryption of the Rails credentials
|
||||
* `DATABASE_NAME`: The name of the MySQL database
|
||||
* `DATABASE_USERNAME`: The username for the MYSQL database
|
||||
* `DATABASE_PASSWORD`: The password for the MYSQL database
|
||||
* `GITHUB_CLIENT_ID`: The client ID of your GitHub OAuth App (that you will need to create)
|
||||
* `GITHUB_CLIENT_SECRET`: The client secret of the GitHub OAuth App
|
||||
- `RAILS_MASTER_KEY`: The master key for decryption of the Rails credentials
|
||||
- `DATABASE_NAME`: The name of the MySQL database
|
||||
- `DATABASE_USERNAME`: The username for the MYSQL database
|
||||
- `DATABASE_PASSWORD`: The password for the MYSQL database
|
||||
- `GITHUB_CLIENT_ID`: The client ID of your GitHub OAuth App (that you will need to create)
|
||||
- `GITHUB_CLIENT_SECRET`: The client secret of the GitHub OAuth App
|
||||
6. Install all required gems with `bundle install`.
|
||||
7. Load the database schema with `bin/rails db:schema:load`.
|
||||
8. Precompile all assets with `bin/rails assets:precompile`.
|
||||
@ -57,4 +57,5 @@ Do you want to implement this improvement yourself? Follow these steps:
|
||||
Anytime you update the files, you should run `bin/rails db:migrate`, `bin/rails log:clear tmp:clear`, `bin/rails assets:precompile` and then restart the server.
|
||||
|
||||
## License
|
||||
|
||||
This project is released under the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user