Skip to content

Commit

Permalink
quick changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntaf committed Oct 5, 2024
1 parent 3830c41 commit ad171bc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ http:
build:
docker build -t syntaf/wetrockpolice:$(LATEST_HASH) \
--build-arg RAILS_ENV=production \
--build-arg USER_ID=1000 \
--build-arg GROUP_ID=1000 \
-f ./Dockerfile.production \
.

Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,46 +40,46 @@ installation (like via RVM)

1. Install the required ruby version (`3.1.4`) via [RVM's installation docs](https://rvm.io/rubies/installing)
```
~$: rvm install 3.1.4
~$: rvm use 3.1.4
rvm install 3.1.4
rvm use 3.1.4
```

2. Install the required node version (`20.13.1`) via [NVM's installation docs](https://github.com/nvm-sh/nvm?tab=readme-ov-file#usage)
```
~$: nvm install 20.13.1
~$: nvm use 20.13.1
nvm install 20.13.1
nvm use 20.13.1
```

3. Clone the repository
```
~$: git clone [email protected]:Syntaf/wetrockpolice.git
git clone [email protected]:Syntaf/wetrockpolice.git
```
4. Copy over the example environment. **Note:** You shouldn't need to change any configuration from
`.env.example` initially
```
~$: cd wetrockpolice
~$: cp .env.example .env
cd wetrockpolice
cp .env.example .env
```
5. Start up your `postgres` and `redis` containers to run in the background
```
~$: make up
make up
```
6. Install required gems & packages for running your webpack & http servers
```
~$: make install
make install
```
7. Setup your database, run migrations & seed data
```
~$: make reset-db
make reset-db
```
8. Start your http & webpack servers
```
~$: ./bin/dev
./bin/dev
```
9. Visit https://localhost:3001/redrock
Expand Down
3 changes: 3 additions & 0 deletions app/views/area/rainy_day_options/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<% content_for :body_attributes do %>
data-controller="rainy-day"
<% end %>
<div class="page-header card">
<div class="container">
<h1><a href="/<%= @watched_area.slug %>">WET ROCK POLICE</a></h1>
Expand Down

0 comments on commit ad171bc

Please sign in to comment.