This repository contains a source code of the Class Schedule Project.
The main goal of the project is designing a website where the university or institute staff will be able to create, store and display their training schedules.
Link to the development version of the site: https://develop-softserve.herokuapp.com/
In order to create a local copy of the project you need:
-
Download and install the last version of Git https://git-scm.com/downloads
-
Open a terminal and go to the directory where you want to clone the files.
-
Run the following command. Git automatically creates a folder with the repository name and downloads the files there.
git clone https://gitlab.com/class_schedule/class_schedule.backend.git
-
Enter your username and password if GitLab requests.
- Download and install the last version of PostgreSQL https://www.postgresql.org/download/
- Configure your username, password and connection url in
hibernate.properties
file
##Redis
- Download and install the last version of Redis https://redis.io/download
- Configure connection url in
cache.properties
file
- Download and install the Ultimate version of IntelliJ IDEA (alternatively you can use a trial or EAP version) https://www.jetbrains.com/idea/download
- Download and install Tomcat 9.0.50 https://tomcat.apache.org/download-90.cgi
- Start the IDE and open class_schedule.backend project from the folder where you previously download it.
- Make sure Tomcat and TomEE Integration is checked (
File –>> Settings –>> Plugins
). Run –>> Edit Configurations…
- Clicks
+
icon, selectTomcat Server –>> Local
- Clicks on “Server” tab, then press
Configure...
button and select the directory with Tomcat server - Clicks on “Deployment” tab, then press
+
icon to select an artifact to deploy, and selectGradle:com.softserve:class_schedule.war
- Press OK to save the configuration
Run –>> Run 'Tomcat 9.0.50'
to start the backend server
-
Download and install Node.js 14.17.4 LTS version https://nodejs.org/en/
-
Open a terminal in
/frontend
directory of the downloaded project and run the following command.npm install
-
After the installation is finished run the following command to start the frontend server
npm start