Get support for goetas/fit-tracker

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

goetas/fit-tracker

App demo application

Preparing the environment

1. Docker

  1. Install Docker
  2. Start all the containers running docker-compose -p fittracker up -d
  3. Login into the PHP container running docker exec -it $(docker ps -q --filter=name=fittracker_php_1) bash

2. PHP

We have to run composer into the container to get all php dependencies:

php composer.phar install

3. Creating the database

php app/console doctrine:schema:update --force

4. Dump static assets

php app/console assets:install
php app/console assetic:dump

5. Loading sample data

php app/console h4cc_alice_fixtures:load:files src/AppBundle/Resources/fixtures/data.yml

Sample data credentials are:

  • Admin user: email: admin@example.com, password: password
  • Standard user: email: usrer1@example.com, password: password

Running tests

In order to run tests, the database has to be empty.

To remove the database run from the mysql container, running from the host machine the command:

echo "DELETE FROM user;" | docker exec -i $(docker ps -q --filter=name=fittracker_db) mysql -ufittracker -pfittracker fittracker

Running PHP tests

php bin/phpunit

Demo

Go to:

API

Login as ADMIN and go to:

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2