Website about poems. Realised in JEE with JSF Framework.
Warning : Be sure to use at least Glassfish 4.1.2 or higher
- Clone this repo
git clone https://github.com/Staminah/PoetrySandwich.git - Create the database using the file named database.sql. It should create a new DB named db_poetrysandwich with tables and data.
- The database must be accessible via a user named root with an empty password
- Open NetBeans and do File > Open Project > Choose your freshly cloned directory
- Locate your Glassfish folder and go to the config folder of your domain (C:\Users\YourName\glassfish-4.1.2\glassfish4\glassfish\domains\domain1\config), then replace the file named domain.xml by the one at the root of this repo.
- You have now to add the Selenium Jar files to your project to make it work (or delete everything about Selenium)
- You should now be able to run the index.xhtml file and access to the website of this project.
- You should be able to login with the following users :
| Username | Password | Role |
|---|---|---|
| admin | okok | Admin |
| anthony | okok | Editor |
| steve | okok | Author |