Coder Social home page Coder Social logo

braindeadhermit / teraware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xrenegade100/teraware

0.0 0.0 0.0 9.16 MB

TeraWare è un progetto realizzato durante il corso di Tecnologie Software per il Web tenuto dalla prof. Rita Francese durante l'a.a. 2020/2021.

License: MIT License

JavaScript 6.67% Java 72.71% SCSS 20.63%

teraware's Introduction

code style: prettier

TeraWare

TeraWare è un progetto realizzato durante il corso di Tecnologie Software per il Web tenuto dalla prof. Rita Francse durante l'a.a. 2020/2021.

Report Bug · Pull Request

GitHub issues GitHub pull requests GitHub

Table of Contents

Descrizione

TeraWare è un sito web di e-commerce specializzato nella vendita di prodotti di informatica per il gaming e l'ufficio. Il frontend è realizzato interamente senza l'utilizzo di template o librerie. Per il backend con Java sono utilizzate (al momento) solo le librerie Gson di Google per la gestione di dati in formato JSON e JDBC come driver per la connessione al database MySQL.

Software

  • Java EE
  • MySQL
  • Sass
  • Tomcat 9.0

Come iniziare

Per far partire il sito sul tuo computer assicurati di installare tutti i software della sezione seguente e poi segui i passaggi per lanciare il sito.

Prerequisiti

Esecuzione

  1. Clona la repo
$ git clone https://github.com/xrenegade100/TeraWare
  1. Apri Eclipse for Java EE
    • File > Import > Existing projects into workspace
    • Seleziona la cartella che contiene la repo clonata
    • Clicca Finish
  2. Clicca con il tastro destro sul progetto nel Project Explorer di Eclipse
    1. Clicca Configure Build Path
    2. Seleziona Classpath
    3. Sulla sinistra clicca Add Library
    4. Scegli JRE System Library e aggiungi un'istanza di Java
    5. Ripeti i passaggi iii. e iv. scegliendo Server Runtime e aggiungi un server Tomcat
    6. Sulla sinistra clicca Add External JARs e naviga in /TeraWare/site/WebContent/WEB-INF/lib/, seleziona tutti i file JAR e aggiungili.
  3. Compila i file Sass (è preferibile tramite Visual Studio Code con Live Sass Compiler, aprendo la cartella site che si trova nella root della repo e poi cliccando su Watch Sass) Tutorial In alternativa da un terminale:
    $ npm i
    $ npm run scss:build
    Nota che i comandi precedenti compilano i file scss e generano i file css in versione compressa. Per generare anche i file css non compressi usa:
    $ npm run scss:build -- -u
    Per cancellare tutti i file css generati usa:
    $ npm run scss:clean
  4. In Eclipse naviga in WebContent > install, clicca con il tasto destro su install.jsp > Run As > Run On Server e segui i passaggi per l'installazione del sito.

Per contribuire

Ogni Pull Request è ben accetta, prima però, apri un issue per discutere dei cambiamenti che vorresti fare 😁

Licenza

MIT

teraware's People

Contributors

xrenegade100 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.