Giter Site home page Giter Site logo

test_web's Introduction

Running Locally

Make sure you have Python 3 installed properly and cheak that you have install GIT

Of course you must have MySQL or MariaDB.

I use MAriaDB couse it`s open souse

$ sudo apt-get update
$ sudo apt-get install python-pip python-dev mariadb-server libmariadbclient-dev libssl-dev
$ sudo mysql_secure_installation

$ mysql -u root -p
$ CREATE DATABASE test_project CHARACTER SET UTF8;
$ CREATE USER test_projectuser@localhost IDENTIFIED BY 'test_password';
$ GRANT ALL PRIVILEGES ON myproject.* TO myprojectuser@localhost;
$ FLUSH PRIVILEGES;
$ exit

Done. Great.

NEXT STEP

Create our environment

$ sudo pip install virtualenv
$ mkdir ~/myproject
$ cd ~/myproject
$ virtualenv myprojectenv
$ source myprojectenv/bin/activate

After all of it you must see something like this (myprojectenv)user@host:~/myproject$

Final step

$ mkdir ~/app
$ cd ~/app
$ git clone [email protected]:mrkiril/test_web.git
$ cd python-getting-started
$ pip install -r requirements.txt
$ python3 manage.py runserver

in your browser enter 127.0.0.1:5000/

HOW TO USE IT

Your start page it is login page. Of course now you don`t have any account. Click to the Register link and create your first account.

test_web's People

Contributors

mrkiril avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.