ITASchedule is a project that is designed to replace the existing software for IT Academy schedule management. Application allows students to look up the schedule of IT Academy training centers and provides teachers and administrators necessary tools for managing groups, classes and events that are being held at the Academy.
Go to {project}/Server/src/main/resources/
and create application.properties
with the following content:
spring.datasource.driver = com.mysql.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/{databaseName}
spring.datasource.username = {user}
spring.datasource.password = {password}
spring.jpa.hibernate.ddl-auto = create
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
In IDEA, create run configuration for Maven: configure target directory
to {project}/Server/
and goals
to spring-boot:run
.
Install Node.js:
- OSX (use homebrew): brew install node
- Windows (use chocolatey): choco install nodejs
Install Yeoman: npm install -g yo
.
Install globally NPM packages: npm install -g bower gulp nodemon
.
Go to {project}/Client/
directory and install dependency packages:
* npm install * bower install
In IDEA, create run configuration for Gulp.js: configure target directory
to {project}/Client/
and goals
to serve-dev
.
Prerequisite: Docker runs on the same physical host as MySQL server.
Install Docker.
Go to {project}/Server/
directory (where pom.xml
is located).
Build Docker image: mvn clean package docker:build
.
Run the created image in container: docker run --rm --net=host itaschedule
.
Now the project can be accessed at localhost:8080
.