Before you begin, ensure you have met the following requirements:
- Node.js (version 12.x or above)
- npm (latest version)
You can check your node and npm versions with the following commands:
node -v
npm -v
Follow these steps to install Password Manager:
git clone https://github.com/ThierryGibbons/CS205-Password-Manager.git
- Navigate to the website directory:
cd './Passwords Made Easy'
- Install dependencies with npm:
npm install
- Navigate to the server directory:
cd './Server'
- Create a Python virtual environment for the Flask backend:
python3 -m venv venv
- Activate the virtual environment:
On Windows
.\venv\Scripts\activate
On macOS/Linux
source venv/bin/activate
- Install additional Python packages required for Auth0 integration and backend functionality:
pip install authlib python-dotenv Flask-CORS requests Flask Flask-SQLAlchemy
After installation, you can run the project locally:
- Navigate to the
Passwords Made Easy
directory:
cd './Passwords Made Easy'
- Run the development server:
npm run dev
- Navigate to the server directory:
cd './Server'
- Activate the virtual environment:
On Windows
.\venv\Scripts\activate
On macOS/Linux
source venv/bin/activate
- Run the Flask server:
python3 app.py
Ensure the Flask server is running before starting the frontend.
- Navigate to the
Extension
directory:
cd './Extension'
- Run the development server:
npm run dev
This command will start a local development server.
- Within the
Passwords Made Easy
directory, run:
npm run build
This will generate a dist/
directory with your compiled project.
- Move this dist/ directory to the
Server
directory.
cp -r ./dist ../Server
- Within the
Server
directory, open the virtual environment,
source venv/bin/activate
- then run:
flask run --host=localhost --port=5173
- Within the
Extension
directory, run:
npm run build
This will generate a dist/
directory with your compiled project.
-
Load the extension into Chrome, navigate to
chrome://extensions/
and enable Developer Mode. -
Click "Load unpacked" and select the
dist/
directory.
Commit Guidelines: https://dev.to/ishanmakadia/git-commit-message-convention-that-you-can-follow-1709