Dicey is a clone of Etsy that focuses on selling homebrew content for Dungeons and Dragons and other table-top RPGs.
-
Clone the repository in your terminal with the following command
git clone [email protected]:ShanFalk/Dicey.git
-
Install all packages for the backend:
cd app
andpipenv install
-
Open a new terminal for the frontend and install all packages:
cd react-app
andnpm install
-
Create a new .env file in the root directory of this project, following the conventions of the .env.example file.
-
Create and configure a PSQL user to match your .env file.
-
Migrate and seed the database in the backend with
flask db migrate
,flask db upgrade
,flask seed all
. -
Run
pipenv shell
thenflask run
in the backend terminal andnpm start
in the frontend terminal. -
Navigate your browser to
localhost:3000