Skip to content

Commit f6d30d2

Browse files
committed
Initial Commit
1 parent efd3995 commit f6d30d2

File tree

1,639 files changed

+295169
-1
lines changed

Some content is hidden

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

1,639 files changed

+295169
-1
lines changed

Diff for: .babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["transform-object-rest-spread"]
3+
}

Diff for: .env.example

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#main
2+
APP_ENV=local
3+
APP_DEBUG=true
4+
APP_KEY=secret
5+
APP_NAME="Photon CMS"
6+
7+
CAN_RESET_PHOTON=true
8+
CAN_REGISTER_USER=true
9+
10+
DB_HOST=localhost
11+
DB_DATABASE=dbname
12+
DB_USERNAME=username
13+
DB_PASSWORD=password
14+
15+
APPLICATION_URL=photoncms.test
16+
17+
QUEUE_DRIVER=redis
18+
19+
#mailserver
20+
MAIL_DRIVER=smtp
21+
MAIL_HOST=mailtrap.io
22+
MAIL_PORT=2525
23+
MAIL_USERNAME=null
24+
MAIL_PASSWORD=null
25+
MAIL_ENCRYPTION=null
26+
27+
# Sender emails
28+
REGISTRATION_SERVICE_EMAIL=[email protected]
29+
INVITATION_SERVICE_EMAIL=[email protected]
30+
NOTIFICATION_SERVICE_EMAIL=[email protected]
31+
RESET_PASSWORD_SERVICE_EMAIL=[email protected]
32+
33+
JWT_TOKEN_TTL=2880
34+
35+
# Broadcasting
36+
BROADCAST_DRIVER=pusher
37+
PUSHER_APP_ID=
38+
PUSHER_APP_KEY=
39+
PUSHER_APP_SECRET=
40+
PUSHER_APP_CLUSTER=mt1
41+
42+
# Throttle
43+
THROTTLE_MAX_TIMES=60
44+
THROTTLE_COOLDOWN_MINUTES=5
45+
46+
# Exporting
47+
EXPORTED_FILES_TTL=60
48+
49+
# FCM notification broadcasting
50+
FCM_SERVER_KEY=
51+
FCM_SENDER_ID=
52+
53+
# Redis
54+
REDIS_HOST=localhost
55+
#REDIS_PASSWORD=
56+
REDIS_PORT=6379
57+
58+
# Subscription
59+
SUBSCRIPTION_TIME=30
60+
61+
IMAGE_SOFTWARE=GD
62+
# IMAGE_SOFTWARE=Imagick
63+
64+
CACHE_DRIVER=file
65+
USE_PHOTON_CACHING=0
66+
PHOTON_CACHING_TTL=60
67+
68+
MASS_AUTO_UPDATE_ANCHOR=1

Diff for: .esformatter

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"plugins": [ "esformatter-curly" ],
3+
"indent": {
4+
"value": " ",
5+
"SwitchCase": 1,
6+
"SwitchStatement": 0
7+
}
8+
}

Diff for: .eslintrc

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaFeatures": {
10+
"experimentalObjectRestSpread": true,
11+
"jsx": true,
12+
"impliedStrict": true
13+
},
14+
"sourceType": "module"
15+
},
16+
"plugins": [
17+
"html",
18+
"react"
19+
],
20+
"globals": {
21+
"$": true,
22+
"NProgress": true,
23+
"Modernizr": true,
24+
"moment": true
25+
},
26+
"rules": {
27+
"indent": [
28+
"error",
29+
4
30+
],
31+
// "linebreak-style": [
32+
// "error",
33+
// "unix"
34+
// ],
35+
"quotes": [
36+
"error",
37+
"single"
38+
],
39+
"semi": [
40+
"error",
41+
"always"
42+
],
43+
"no-console": "off"
44+
}
45+
}

Diff for: .gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto
2+
*.css linguist-vendored
3+
*.less linguist-vendored

Diff for: .gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.*/
2+
.DS_Store
3+
.env
4+
.idea
5+
.ideas
6+
.todo
7+
/.env.testing
8+
/nbproject/private/
9+
/node_modules
10+
/config/horizon.php
11+
/public/storage
12+
/public/storage/assets/*
13+
/public/vendor/horizon
14+
/storage/license.key
15+
/vendor
16+
composer.lock
17+
Homestead.json
18+
Homestead.yaml
19+
npm-debug.log
20+
public/php_errors.log
21+
yarn.lock

Diff for: README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# cms
1+
# Photon CMS #
2+
3+
## About Photon CMS ##
4+
5+
Photon CMS is an API-first content management system based on Laravel framework. It features a configurable control panel built using Vue.js.
6+
7+
Learn more about Photon CMS at [https://photoncms.com](https://photoncms.com).

0 commit comments

Comments
 (0)