Skip to content

Social-projects-Rivne/Event.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Settings mailer into development.ini

Copy development.ini.sample to development.ini and fill credentails before first deployment:

mail.host = smtp.gmail.com
mail.username = "your email address"
mail.password = "your password"
mail.port = 465
mail.ssl = True

server/development.ini

Docker

Open your favorite Terminal and run these commands.

First you need to change your dir:

$ cd Event.me

Next step you to start your docker:

$ docker-compose up

This will up containers. Verify the deployment by navigating to server address in your preferred browser.

Pyramid:

localhost:6543

Adminer:

localhost:9000

Client:

localhost:3000

Init tables & data in db#

Change your work dir to server

cd way/to/project/server/

To create tables and push test data open your Terminal and run

python db_data_init.py

That's all.

Also, tables will be created every time a server is launched.