mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
Merge branch 'development' into main
This commit is contained in:
commit
cde22f85ee
7 changed files with 11 additions and 28 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
# Read what every environment variable does: https://github.com/stonith404/pingvin-share#environment-variables
|
||||||
|
|
||||||
# GENERAL
|
# GENERAL
|
||||||
APP_URL=http://localhost:3000
|
APP_URL=http://localhost:3000
|
||||||
SHOW_HOME_PAGE=true
|
SHOW_HOME_PAGE=true
|
||||||
|
|
3
.github/workflows/build-docker-image.yml
vendored
3
.github/workflows/build-docker-image.yml
vendored
|
@ -3,6 +3,9 @@ name: Create Docker Image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
|
paths:
|
||||||
|
- 'frontend/**'
|
||||||
|
- 'backend/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -37,4 +37,3 @@ yarn-error.log*
|
||||||
# project specific
|
# project specific
|
||||||
/backend/data/
|
/backend/data/
|
||||||
/data/
|
/data/
|
||||||
/backend/prisma/pingvin-share.db*
|
|
||||||
|
|
11
README.md
11
README.md
|
@ -48,7 +48,7 @@ Contact me, create an issue or directly create a pull request.
|
||||||
|
|
||||||
### Development setup
|
### Development setup
|
||||||
|
|
||||||
#### Database & Backend
|
#### Backend
|
||||||
|
|
||||||
1. Open the `backend` folder
|
1. Open the `backend` folder
|
||||||
2. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed
|
2. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed
|
||||||
|
@ -58,9 +58,10 @@ Contact me, create an issue or directly create a pull request.
|
||||||
|
|
||||||
#### Frontend
|
#### Frontend
|
||||||
|
|
||||||
1. Open the `frontend` folder
|
1. Start the backend first
|
||||||
2. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed
|
2. Open the `frontend` folder
|
||||||
3. Install the dependencies with `npm install`
|
3. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed
|
||||||
4. Start the frontend with `npm run dev`
|
4. Install the dependencies with `npm install`
|
||||||
|
5. Start the frontend with `npm run dev`
|
||||||
|
|
||||||
You're all set!
|
You're all set!
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
/frontend/node_modules/
|
|
||||||
dist/
|
|
||||||
.git/
|
|
|
@ -1,15 +0,0 @@
|
||||||
version: '3.8'
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:14.1-alpine
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
- POSTGRES_USER=${DB_USER}
|
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
|
||||||
- POSTGRES_DB=pingvin-share
|
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
volumes:
|
|
||||||
- pingvin-share-dev-db:/var/lib/postgresql/data
|
|
||||||
volumes:
|
|
||||||
pingvin-share-dev-db:
|
|
|
@ -1,4 +0,0 @@
|
||||||
node_modules/
|
|
||||||
dist/
|
|
||||||
.next/
|
|
||||||
.git/
|
|
Loading…
Add table
Reference in a new issue