Skip to content

Commit d1beb13

Browse files
committed
heroku setup
1 parent e70db8f commit d1beb13

File tree

181 files changed

+15095
-15093
lines changed

Some content is hidden

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

181 files changed

+15095
-15093
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war --spring.profiles.active=prod
1+
web: java -jar target/dependency/webapp-runner.jar target/*.war --spring.profiles.active=prod

README.md

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,94 @@
1-
simpleworklist
2-
==============
3-
4-
Your Todo List for Getting Things Done
5-
6-
Software-Stack: Spring-Boot, JPA, Spring MVC, Thymeleaf, Twitter Bootstrap, jQuery, HTML5
7-
8-
Setup local Test-System
9-
-----------------------
10-
11-
1. Setup a PostgreSQL 10-Database
12-
3. copy src/main/resources/worklist_sample.properties to _src/main/resources/worklist.properties
13-
4. start project with: mvn clean spring-boot:run
14-
15-
Getting Things Done
16-
-------------------
17-
GTD® and Getting Things Done® are registered trademarks of the David Allen Company.
18-
SimpleWorklist is not affiliated with or endorsed by the David Allen Company.
19-
20-
Setup a PostgreSQL 10-Database
21-
------------------------------
22-
* https://www.postgresql.org/download/
23-
* Windows and macOS - Graphical installer by *BigSQL*: https://www.openscg.com/bigsql/postgresql/installers.jsp/
24-
* Windows:
25-
1. start cmd as admin
26-
2. cd \PostgreSQL
27-
3. pgc start
28-
4. pgc pgadmin3
29-
30-
Developer Reminder
31-
------------------
32-
* Create serialVersionUID for Classes with "implements Serializable": use the JDK tool “serialver“
33-
34-
35-
Drag and Drop
36-
-------------
37-
* https://jqueryhouse.com/jquery-drag-and-drop-plugins/
38-
* https://mdbootstrap.com/plugins/jquery/draggable/#introduction
39-
* https://github.com/Shopify/draggable/tree/master/examples/src/content/Droppable/UniqueDropzone
40-
* https://github.com/Shopify/draggable#documentation
41-
* https://jqueryhouse.com/jquery-drag-and-drop-plugins/
42-
* https://shopify.github.io/draggable/examples/simple-list.html
43-
* https://www.elated.com/drag-and-drop-with-jquery-your-essential-guide/
44-
* https://medium.com/@okandavut/using-jquery-ui-drag-drop-64a24e75e805
45-
46-
Shortcuts
47-
---------
48-
* https://fontawesome.com/icons?d=gallery&m=free
49-
* https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html
50-
* https://ckeditor.com/docs/ckeditor4/latest/guide/dev_installation.html
51-
* http://impossibl.github.io/pgjdbc-ng/docs/current/user-guide/#drivers
52-
* https://devcenter.heroku.com/articles/getting-started-with-java
53-
* https://devcenter.heroku.com/articles/java-support#specifying-a-java-version
54-
55-
# java-getting-started
56-
57-
A barebones Java app, which can easily be deployed to Heroku.
58-
59-
This application supports the [Getting Started with Java on Heroku](https://devcenter.heroku.com/articles/getting-started-with-java) article - check it out.
60-
61-
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
62-
63-
## Running Locally
64-
65-
Make sure you have Java and Maven installed. Also, install the [Heroku CLI](https://cli.heroku.com/).
66-
67-
```sh
68-
$ git clone https://github.com/heroku/java-getting-started.git
69-
$ cd java-getting-started
70-
$ mvn install
71-
$ heroku local:start
72-
```
73-
74-
Your app should now be running on [localhost:5000](http://localhost:5000/).
75-
76-
If you're going to use a database, ensure you have a local `.env` file that reads something like this:
77-
78-
```
79-
JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/java_database_name
80-
```
81-
82-
## Deploying to Heroku
83-
84-
```sh
85-
$ heroku create
86-
$ git push heroku master
87-
$ heroku open
88-
```
89-
90-
## Documentation
91-
92-
For more information about using Java on Heroku, see these Dev Center articles:
93-
94-
- [Java on Heroku](https://devcenter.heroku.com/categories/java)
1+
simpleworklist
2+
==============
3+
4+
Your Todo List for Getting Things Done
5+
6+
Software-Stack: Spring-Boot, JPA, Spring MVC, Thymeleaf, Twitter Bootstrap, jQuery, HTML5
7+
8+
Setup local Test-System
9+
-----------------------
10+
11+
1. Setup a PostgreSQL 10-Database
12+
3. copy src/main/resources/worklist_sample.properties to _src/main/resources/worklist.properties
13+
4. start project with: mvn clean spring-boot:run
14+
15+
Getting Things Done
16+
-------------------
17+
GTD® and Getting Things Done® are registered trademarks of the David Allen Company.
18+
SimpleWorklist is not affiliated with or endorsed by the David Allen Company.
19+
20+
Setup a PostgreSQL 10-Database
21+
------------------------------
22+
* https://www.postgresql.org/download/
23+
* Windows and macOS - Graphical installer by *BigSQL*: https://www.openscg.com/bigsql/postgresql/installers.jsp/
24+
* Windows:
25+
1. start cmd as admin
26+
2. cd \PostgreSQL
27+
3. pgc start
28+
4. pgc pgadmin3
29+
30+
Developer Reminder
31+
------------------
32+
* Create serialVersionUID for Classes with "implements Serializable": use the JDK tool “serialver“
33+
34+
35+
Drag and Drop
36+
-------------
37+
* https://jqueryhouse.com/jquery-drag-and-drop-plugins/
38+
* https://mdbootstrap.com/plugins/jquery/draggable/#introduction
39+
* https://github.com/Shopify/draggable/tree/master/examples/src/content/Droppable/UniqueDropzone
40+
* https://github.com/Shopify/draggable#documentation
41+
* https://jqueryhouse.com/jquery-drag-and-drop-plugins/
42+
* https://shopify.github.io/draggable/examples/simple-list.html
43+
* https://www.elated.com/drag-and-drop-with-jquery-your-essential-guide/
44+
* https://medium.com/@okandavut/using-jquery-ui-drag-drop-64a24e75e805
45+
46+
Shortcuts
47+
---------
48+
* https://fontawesome.com/icons?d=gallery&m=free
49+
* https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html
50+
* https://ckeditor.com/docs/ckeditor4/latest/guide/dev_installation.html
51+
* http://impossibl.github.io/pgjdbc-ng/docs/current/user-guide/#drivers
52+
* https://devcenter.heroku.com/articles/getting-started-with-java
53+
* https://devcenter.heroku.com/articles/java-support#specifying-a-java-version
54+
55+
# java-getting-started
56+
57+
A barebones Java app, which can easily be deployed to Heroku.
58+
59+
This application supports the [Getting Started with Java on Heroku](https://devcenter.heroku.com/articles/getting-started-with-java) article - check it out.
60+
61+
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
62+
63+
## Running Locally
64+
65+
Make sure you have Java and Maven installed. Also, install the [Heroku CLI](https://cli.heroku.com/).
66+
67+
```sh
68+
$ git clone https://github.com/heroku/java-getting-started.git
69+
$ cd java-getting-started
70+
$ mvn install
71+
$ heroku local:start
72+
```
73+
74+
Your app should now be running on [localhost:5000](http://localhost:5000/).
75+
76+
If you're going to use a database, ensure you have a local `.env` file that reads something like this:
77+
78+
```
79+
JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/java_database_name
80+
```
81+
82+
## Deploying to Heroku
83+
84+
```sh
85+
$ heroku create
86+
$ git push heroku master
87+
$ heroku open
88+
```
89+
90+
## Documentation
91+
92+
For more information about using Java on Heroku, see these Dev Center articles:
93+
94+
- [Java on Heroku](https://devcenter.heroku.com/categories/java)

app.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"name": "SimpleWorklist",
3-
"description": "Your Todo-List for Getting Things Done.",
4-
"addons": [ "heroku-postgresql" ]
5-
}
1+
{
2+
"name": "SimpleWorklist",
3+
"description": "Your Todo-List for Getting Things Done.",
4+
"addons": [ "heroku-postgresql" ]
5+
}

0 commit comments

Comments
 (0)