mirror of
https://github.com/System-End/highway.git
synced 2026-04-20 00:25:16 +00:00
readded database.yml and updated pages
This commit is contained in:
parent
92b964e6ac
commit
d5c6446db0
3 changed files with 47 additions and 6 deletions
|
|
@ -87,7 +87,7 @@
|
|||
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-5 mt-8">
|
||||
|
||||
<%= link_to "/launchpad", class: "block" do %>
|
||||
<%= link_to "/getting-started/overview", class: "block" do %>
|
||||
<div class="flex flex-col group border-2 border-[#5453FF] bg-[#302C61] hover:bg-[#403A88] rounded max-w-4xl justify-center text-center hover:shadow-[0_0_20px_5px_rgba(84,83,255,0.7)] transition-shadow duration-150 transition-colors hover:-rotate-1">
|
||||
<div class="p-8 pb-0 space-y-4">
|
||||
<p class="text-2xl font-bold md:opacity-80 group-hover:opacity-100">Starter projects - follow a guide, get your parts!</p>
|
||||
|
|
@ -98,10 +98,10 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= link_to "/advanced/overview", class: "block" do %>
|
||||
<%= link_to "/getting-started/overview", class: "block" do %>
|
||||
<div class="flex flex-col group border-2 border-[#5453FF] bg-[#302C61] hover:bg-[#403A88] rounded max-w-4xl justify-center text-center hover:shadow-[0_0_20px_5px_rgba(84,83,255,0.7)] transition-shadow duration-150 transition-colors hover:rotate-1">
|
||||
<div class="p-8 pb-0 space-y-4">
|
||||
<p class="text-2xl font-bold md:opacity-80 group-hover:opacity-100">Custom projects - get up to 350 USD!</p>
|
||||
<p class="text-2xl font-bold md:opacity-80 group-hover:opacity-100">Custom projects - get up to 350 USD*!</p>
|
||||
<p class="font-bold opacity-60 group-hover:opacity-80"><i>For epic, self-guided projects.</i></p>
|
||||
<%= image_tag "/track2.png", class: "bg-black h-96 mt-auto md:opacity-90 group-hover:opacity-100 max-w-2xl" %>
|
||||
</div>
|
||||
|
|
@ -113,12 +113,15 @@
|
|||
|
||||
|
||||
<div class="flex justify-center items-center mb-24 md:mb-56 mx-5">
|
||||
<div class="bg-gradient-to-r from-[#3F90B0] to-[#376193] p-4 rounded-xl text-center max-w-3xl">
|
||||
<div class="border-white border-6 p-8 rounded-lg">
|
||||
<div class="bg-gradient-to-r from-[#fbc933] to-[#f0bd23] p-4 rounded-xl text-center max-w-3xl">
|
||||
<div class="border-black border-6 p-8 rounded-lg text-black">
|
||||
<p class="font-dystopian text-4xl">What is this?</p>
|
||||
|
||||
|
||||
<p class="mt-4">Highway is Hack Club's take on hardware </p>
|
||||
<p class="mt-4 font-medium"><b>Highway</b> is a grant program where you can design <i>any</i> project, and we'll send you the parts & funding you need to build it! </p>
|
||||
<p class="mt-2 font-medium"> Repeat to get invited to <b>Undercity</b>, a 4-day hardware hackathon at GitHub HQ in July</p>
|
||||
<p class="mt-4 font-medium"> There's both beginner & advanced tracks, so <i>everyone</i> is included. There'll be new content, freebies, and other awesome stuff from now until July 31st.<p>
|
||||
<p class="mt-4 font-medium"> We're a team of 15 teenagers from Hack Club, and this is our take on making the best hardware event yet :)<p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ Please double check that you have everything necessary! This will depend on your
|
|||
- a full BOM with links
|
||||
- all project source files
|
||||
|
||||
**USING AI TO GENERATE A README.md FILE OR A JOURNAL IS STRICTLY DISALLOWED**
|
||||
|
||||
If your project is rejected for any reason, you will have to wait 1 week before it gets re-reviewed
|
||||
|
||||
Approval **does not** guarantee that your project will be functional - that is on you to check. Please ask in #highway and get help from other people to make sure it works before submitting!
|
||||
|
|
|
|||
36
config/database.yml
Normal file
36
config/database.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
default: &default
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
username: <%= ENV.fetch("DB_USERNAME", "") %>
|
||||
password: <%= ENV.fetch("DB_PASSWORD", "") %>
|
||||
host: localhost
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
database: highway_dev
|
||||
|
||||
test:
|
||||
<<: *default
|
||||
database: highway_test
|
||||
|
||||
production:
|
||||
primary:
|
||||
url: <%= ENV['DATABASE_URL'] %>
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
timeout: 5000
|
||||
cache:
|
||||
url: <%= ENV['CACHE_DATABASE_URL'] || ENV['DATABASE_URL'] %>
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
timeout: 5000
|
||||
migrations_paths: db/cache_migrate
|
||||
queue:
|
||||
url: <%= ENV['QUEUE_DATABASE_URL'] || ENV['DATABASE_URL'] %>
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
timeout: 5000
|
||||
migrations_paths: db/queue_migrate
|
||||
cable:
|
||||
url: <%= ENV['CABLE_DATABASE_URL'] || ENV['DATABASE_URL'] %>
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
timeout: 5000
|
||||
migrations_paths: db/cable_migrate
|
||||
Loading…
Add table
Reference in a new issue