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 IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck 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
- Install Docker
- Start all the containers running
docker-compose -p fittracker up -d
- 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:
- http://localhost:8080/app_dev.php for the development mode
- http://localhost:8080/ for the production mode
API
Login as ADMIN and go to:
- http://localhost:8080/app_dev.php/api/doc for the development mode
- http://localhost:8080/api/doc for the production mode
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.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2