List of commits:
Subject Hash Author Date (UTC)
hello world json 636f0cca5234693152d25e8a6f7f2e812b39fa16 Ivaylo Iliev 2017-08-27 08:29:56
empty symfony app 9c121393c6caf39150b1eeaa274c978edef1425e Ivaylo Iliev 2017-08-26 23:05:32
update default nginx config 87638100759fe5cec69d45fbbcf7bbda3464131a Ivaylo Iliev 2017-08-26 23:03:30
Initial commit f0ac3b6d6f330c3ed2e5c760a30abf15601d0494 Ivaylo Iliev 2017-08-26 22:23:30
Commit 636f0cca5234693152d25e8a6f7f2e812b39fa16 - hello world json
Author: Ivaylo Iliev
Author date (UTC): 2017-08-27 08:29
Committer name: Ivaylo Iliev
Committer date (UTC): 2017-08-27 08:29
Parent(s): 9c121393c6caf39150b1eeaa274c978edef1425e
Signing key:
Tree: 1ead174c9ca5521692bf767c8686f1383ae30d8f
File Lines added Lines deleted
src/nasa/src/AppBundle/Controller/DefaultController.php 6 4
File src/nasa/src/AppBundle/Controller/DefaultController.php changed (mode: 100644) (index cecd334..7d63241)
... ... use Symfony\Component\HttpFoundation\Request;
9 9 class DefaultController extends Controller class DefaultController extends Controller
10 10 { {
11 11 /** /**
12 * Hello world
13 *
14 * Gets some json
15 *
12 16 * @Route("/", name="homepage") * @Route("/", name="homepage")
17 * @return \Symfony\Component\HttpFoundation\Response
13 18 */ */
14 19 public function indexAction(Request $request) public function indexAction(Request $request)
15 20 { {
16 // replace this example code with whatever you need
17 return $this->render('default/index.html.twig', [
18 'base_dir' => realpath($this->getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR,
19 ]);
21 return $this->json([ 'hello' => 'world!' ]);
20 22 } }
21 23 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/ranapat/nasa

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/ranapat/nasa

Clone this repository using git:
git clone git://git.rocketgit.com/user/ranapat/nasa

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main