It is a project of Web Technologies(TW6) (course of the Parthenope University of Naples).
- The idea is to create a platform that allows the management and organization of user events.
-
to create events with customizations.
-
to make the events private in a bulletin board visible to all NotMiss users.
-
to make the events public in a bulletin board visible to all.
notmiss.mp4
- Create virtual environment folder(by terminal):
$ python3 -m venv venv
- activate the corresponding environment:
$ . venv/bin/activate
- Go to project folder and install requirements by requirements.txt file:
$ pip install -r requirements.txt
- Make sure the python interpreter is configured correctly.
- If you don't have mongoDB, follow this guide to install it.
- (linux only) you can start mongoDB with the command:
$ sudo systemctl start mongod
If that doesn't work, run the following commands:-
$ sudo chown mongodb:mongodb /tmp/mongodb-27017.sock
-
$ sudo systemctl restart mongod
-
- run mongoDB(the instructions depend on your OS).
- In the project folder there is the "NotMissDB" folder. if you want to have a ready NotMissDB, then execute the procedure "how to import the testing db?"
- N.B: The flask command is installed by Flask, not your application; it must be told where to find your application in order to use it. The FLASK_APP environment variable is used to specify how to load the application so export your FLASK_APP environment variable:
$ export FLASK_APP=app
- Run flask:
$ flask run
(you can use command$ flask run -h 0.0.0.0
to make NotMiss accessible to everyone). - If you want and if you already want a populated database, you can follow the procedure "how to import the testing DB".
- If your operating system is not linux, search on google "how to import a db in mongodb in X" (X = your OS)
- Else: run the command:
$ sudo mongorestore -d NotMissDB < NotmissDB_path >
- Now you can test NotMiss with sample data.
- (If you need to export NotMissDB (for some reason):
$ sudo mongodump --host localhost --port 27017 --db NotMissDB
)
-
$ flask run
and$ flask run -h 0.0.0.0
commands return the IP address and port to connect to access the PWA. - From the main interface you can access the login / registration page.
- Once you have registered and logged in, you will be redirected to the main page where you can create your own events, attend other users' events and view event information.
- [PowerPoint] NotMiss Presentation
- [GOOGLE DRIVE] NotMiss Presentation
- N.B: animations don't work with Google Drive! Luca Rubino