This is a simple web application for taking notes.
Install the required Python packages using pip:
pip install -r requirements.txtThis application uses a PostgreSQL database.
- Make sure you have PostgreSQL installed and running.
- Create a database named
postgres. - Create a user
postgreswith a password.
Create a file named .env in the Note directory and add the following line, replacing your_password with the actual password for your postgres user:
DB_PW=your_password
Create the notes table in your postgres database by running the schema.sql file:
psql -U postgres -d postgres -a -f schema.sqlStart the web application by running the app.py file:
python3 app.pyThe application will be running at http://localhost:8080.