English 中文(简体)
Pycharm - Pyramid
  • 时间:2024-12-22

Pycharm - Pyramid


Previous Page Next Page  

You can create a project of Pyramid Framework in PyCharm editor by using its Welcome Window.

A user can set the project’s interpreter and Python location, choosing scaffold, and a template language by default. The scaffold in Pyramid framework uses URL dispatch to map URLs and to view code and SQLAlchemy for persistence properties.

Pyramid Framework

PyCharm editor will ask user with pst of required packages in the setup.py file and prompts the user to download the required packages.

Setup Install the project in development mode (refer to official documentation of Pyramid for more details). The user should run python setup.py through the menu Tools -> Run setup.py option. Tools Setup

A user should select develop task while running a .py file as mentioned in the below window −

Develop Task

It is important to initiapze the database using console script named initiapze <project_name> using the following command −

initiapze_pyramiddemo_db development.ini
The user can start the server by running the project which will display the result as shown below − Project Name Advertisements