Skip to content

Commit d72cce5

Browse files
authored
New features (#24)
* Update and add new features * Enable some new features. Update to latest versions. * Add a deprecated resource and field. Fix tests. * Update the admin * Tweak the PWA welcome screen * Add groups * Upgrade. Fix the cache problem.
1 parent c6f5e43 commit d72cce5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3200
-4343
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONTAINER_REGISTRY_BASE=quay.io/api-platform

README.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,15 @@ API Platform Demo
44
This a demonstration application for the [API Platform Framework](https://api-platform.com).
55
Try it online at <https://demo.api-platform.com>.
66

7-
Installation (recommended)
8-
==========================
7+
Install
8+
=======
99

10-
```shell
10+
$ git clone https://github.com/api-platform/demo.git
11+
$ docker-compose up
1112

12-
$ git clone https://github.com/api-platform/demo.git
13+
And go to https://localhost.
1314

14-
$ docker-compose up
15-
```
15+
Loading Fixtures
16+
================
1617

17-
And go to https://localhost
18-
19-
Installation (manual)
20-
=====================
21-
22-
```shell
23-
24-
$ git clone https://github.com/api-platform/demo.git
25-
26-
# Create a user and a database in PostgreSQL and enter the credentials into .env
27-
28-
$ composer install
29-
30-
$ php bin/console doctrine:schema:update --force
31-
```
18+
$ docker-compose exec php bin/console hautelook:fixtures:load

admin/.dockerignore

100755100644
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
**/*.log
2+
**/*.md
23
**/._*
4+
**/.dockerignore
35
**/.DS_Store
4-
**/.gitignore
6+
**/.git/
57
**/.gitattributes
8+
**/.gitignore
9+
**/.gitmodules
10+
**/Dockerfile*
611
**/Thumbs.db
7-
**/*.md
8-
**/.dockerignore
9-
Dockerfile*
1012
.env*
13+
build/
14+
node_modules/

admin/.env

100755100644
File mode changed.

admin/.gitignore

100755100644
File mode changed.

admin/Dockerfile

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:9.4-alpine
1+
FROM node:9.11-alpine
22

33
RUN mkdir -p /usr/src/admin
44

admin/README.md

100755100644
Lines changed: 4 additions & 2162 deletions
Large diffs are not rendered by default.

admin/package.json

100755100644
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@api-platform/admin": "^0.1.15"
6+
"@api-platform/admin": "^0.5.0",
7+
"react": "^16.3.0",
8+
"react-dom": "^16.3.0"
79
},
810
"devDependencies": {
9-
"react-scripts": "1.1.0"
11+
"react-scripts": "^1.1.0"
1012
},
1113
"scripts": {
1214
"start": "react-scripts start",

admin/public/favicon.ico

100755100644
File mode changed.

admin/public/index.html

100755100644
File mode changed.

admin/public/manifest.json

100755100644
File mode changed.

admin/src/App.js

100755100644
File mode changed.

admin/src/App.test.js

100755100644
File mode changed.

admin/src/index.js

100755100644
File mode changed.

admin/src/registerServiceWorker.js

100755100644
File mode changed.

0 commit comments

Comments
 (0)