Subject | Hash | Author | Date (UTC) |
---|---|---|---|
update build scripts | 0ca23c79e7f0c2e0a2beae8ea676d1bc6c6c237f | Ivaylo Iliev | 2017-08-27 16:23:17 |
neo bundle, neo entity, empty command | 5df95da9f7d462e891685b5556abeae1abdd28b4 | Ivaylo Iliev | 2017-08-27 16:11:31 |
add mysql | 798d32267444f4f26ce9215817720217970c5e06 | Ivaylo Iliev | 2017-08-27 14:33:00 |
run and build script | a91daf3d789ac334eca951731504f1a17e79952d | Ivaylo Iliev | 2017-08-27 10:52:34 |
remove security checks | 613463e0180c3e812194b0bac40aaef508d99823 | Ivaylo Iliev | 2017-08-27 10:52:12 |
add nasa api key | a4f8c147880e69994a988a176298ed54dacc53db | Ivaylo Iliev | 2017-08-27 08:45:17 |
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 |
File | Lines added | Lines deleted |
---|---|---|
docker/application/Dockerfile | 11 | 0 |
src/nasa/app/DoctrineMigrations/Version20170827152416.php | 0 | 28 |
File docker/application/Dockerfile changed (mode: 100644) (index 8881193..45a0dff) | |||
... | ... | RUN \ | |
36 | 36 | curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony && \ | curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony && \ |
37 | 37 | chmod a+x /usr/local/bin/symfony | chmod a+x /usr/local/bin/symfony |
38 | 38 | ||
39 | # Update composer | ||
40 | RUN \ | ||
41 | cd /var/www/html/nasa && \ | ||
42 | composer update | ||
43 | |||
44 | # Create DB and run all migrations | ||
45 | RUN \ | ||
46 | cd /var/www/html/nasa && \ | ||
47 | bin/console doctrine:database:create && \ | ||
48 | bin/console doctrine:migrations:migrate -n | ||
49 | |||
39 | 50 | # Define mountable directories. | # Define mountable directories. |
40 | 51 | VOLUME ["/etc/nginx/sites-enabled", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx"] | VOLUME ["/etc/nginx/sites-enabled", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx"] |
41 | 52 |
File src/nasa/app/DoctrineMigrations/Version20170827152416.php deleted (index 4c53704..0000000) | |||
1 | <?php | ||
2 | |||
3 | namespace Nasa\Migrations; | ||
4 | |||
5 | use Doctrine\DBAL\Migrations\AbstractMigration; | ||
6 | use Doctrine\DBAL\Schema\Schema; | ||
7 | |||
8 | /** | ||
9 | * Create the DB | ||
10 | */ | ||
11 | class Version20170827152416 extends AbstractMigration | ||
12 | { | ||
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | ||
17 | { | ||
18 | $this->addSql('create database nasa'); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * @param Schema $schema | ||
23 | */ | ||
24 | public function down(Schema $schema) | ||
25 | { | ||
26 | $this->addSql('drop database nasa') | ||
27 | } | ||
28 | } |