Flowerty
Flowers store service with web ui on Java.
version
1.0.0
stack of technologies:
- [Hibernate] - great ORM for Java
- [AngularJS] - HTML enhanced for web apps!
- [Twitter Bootstrap] - great UI boilerplate for modern web apps
- [Spring] - IoC container for manage of bean.
setup ActiveMQ
- download distribution: http://activemq.apache.org/activemq-5111-release.html
- extract to any folder
- open terminal
- in terminal: move to 'extract-activemq-folder'/bin
- execute command: java -jar activemq.jar start
activemq must start without errors
note: to shutdown activemq need press Ctrl+C
setup Apache Solr
initial setup:
- download Solr from http://www.apache.org/dyn/closer.cgi/lucene/solr/5.1.0
- extract it to any folder you prefer
- visit http://localhost:8983/solr/ to see it's going ok
- put "solr" folder to solr-5.1.0/server
- put "cloud" folder to solr-5.1.0/example
note: (you don't need them in the project folder anymore)
- go to solr-5.1.0/bin and execute:
solr start -e cloud -noprompt
- when it asks about replacing log files, choose all
it opens two windows. don't close them until you don't need solr anymore!
note: if somesing doesn't work try running "solr restart -all" from the same bin folder to stop it run solr stop -all or close those two windows
after update:
- start solr by "solr start" command from bin folder
- copy solr-update.bat to the same bin folder.execute it
- copy solr folder to the same place as the last time (solr-5.1.0/server)
solr update (multicore)
to add a multicore for solr, execute, .bat the file as follow below:
solr create_core -c "flowerty-contact" -d basic_configs -p 8983
solr create_core -c "flowerty-purchase" -d basic_configs -p 8983
pause