An awesome project example utilising wallet functionality!
Table of Contents
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/moofity/wallet.git
- Copy the env file
cp .env.example .env
- Enter your Google credentials in
.env
GOOGLE_CLIENT_ID=000000000000-XXXXXXXXXXX.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=XXXXXXXXXXXXX GOOGLE_REDIRECT=http://localhost/auth/google/callback
- Run the application with
sail
. (It may take little longer when creating container initially)./vendor/bin/sail up -d
- Run migrations
./vendor/bin/sail artisan migrate
- Setup the UI
./vendor/bin/sail npm install ./vendor/bin/sail npm run prod # or dev
- Run the tests
./vendor/bin/sail test