Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 1.5 KB

README.md

File metadata and controls

73 lines (55 loc) · 1.5 KB

PowerPortfolio

alt text

A CSST project open to the public!

To be created:

  • Login page
  • Landing page
  • Projects page
  • Contact page
  • Backend API
  • DOM events

Specializations that are a bonus:

  • Any kind of HTML/CSS
  • Python 3
  • Jquery
  • sqlalchemy
  • flask
  • bcrypt

The Power Portfolio is a free to use template created by the Tumblr Community / CSST team.

Running PowerPortfolio on local Server

For development purposes you can run PowerPortfolio on a local server by doing the following:

  1. Create a virtual enviroment named venv
python3 -m venv venv
  1. Activate the virtual enviroment:

Windows:

venv\Scripts\activate.bat

*nix:

source venv/bin/activate
  1. The first time you run PowerPortfolio do:
pip install -e .
  1. Configure settings.cfg with the desired database url.

  2. To run the app do:

python -m portfolio

Running Test

To run a test, first open settings.cfg and change the DATABASE url to the url of the testing database.

Next run

python test.py

To move out of testing mode, change DATABASE in settings.cfg to the original databse url.
Finally, delete the test database file.

Setting a Password

PowerPortfolio does not handle password creation. To login is, first create a bcrypt hashed password and store it in a file named 'passwd.txt'.