Skip to content

Ymatigoosa/playreact-prototype1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

abandoned project

How to run?

Idea 14

  1. install scala plugin & some js plugins for syntax highlighting (dont remember which.....)

  2. press import project and choose sbt project

  3. wait until magic is done

  4. add startup config like this

    startup config

    JVM Options:

    -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M

  5. enjoi

js

  1. install npm
  2. go to client/ folder
  3. run cmd from this folder
  4. use following command:
    1. npm install - install libraries, declared in package.json
    2. npm run watch - start auto compile when files is changed. Compiled file will be placed in public/client.js folder where is can be accessed from Play framework.

Project structure

  • app - Play application folder
    • actors - actors package
    • assets - this folder can contain js/coffee/less files that uses play-framework js build system.
    • controllers
      • Application.scala - main controller
      • Application_isomorphic.scala - UNUSED. isomorphic rendering controller
      • SumController - from example.... im so lazy to delete it
    • views
      • index.scala.html
      • mail.scala.html
      • requireJsConfig.scala.html - UNUSED. auto creating require js config for standart build system.
  • client - client js project
    • client.js - main file
    • package.json - libraries
    • webpack.***.js - building
  • conf
    • application.conf - play framework configs
    • routes - play framework routes
  • project - scala build config
  • target - scala build output
  • build.sbt - scala build script
  • procfile - heroku config

About

a term work of volgograd state technical univercity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published