Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

emil14/backend-test-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

You need to install PostgreSQL and Python. Here's how you can do it on Ubuntu Linux:

sudo apt update
sudo apt install python3.7 postgresql-10

Now now you need to install and run pipenv to create virtualenv and manage our dependencies:

pip install pipenv
pipenv --three # create a virtualenv
pipenv install --dev # install dependencies

Getting started

Make sure you have .env file setup. Then go to the terminal and type:

pipenv shell # enter the matrix
flask run # start web-server

By now you should be able to go to http://127.0.0.1:8080/ and see the application running.

To enter the database shell:

sudo su - postgres # change user
psql # enter the matrix

Make sure you have restarted pipenv's shell if you update .env file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages