GithubHelp home page GithubHelp logo

steedmicro / marketplaceinternal Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.05 MB

This is a Django Project combined with Blockchain Technology.

Python 21.18% Shell 0.05% Solidity 1.50% TypeScript 60.88% HTML 0.16% SCSS 16.23%

marketplaceinternal's Introduction

  1. Install latest Ubuntu (20+)
  2. apt install postgresql nginx redis-server supervisor python3-dev python3-virtualenv python3-pip vim
  3. Create this folder: /var/www/lofcrypto
  4. cd /var/www/lofcrypto
  5. virtualenv -p python3 venv
  6. source venv/bin/activate
  7. pip install pipenv
  8. pipenv install
  9. pipenv install psycopg2-binary uwsgi
  10. cp example.env .env
  11. nano .env # change DJANGO_ALLOWED_HOSTS to yours
  12. su postgres -c 'createuser lofcrypto -lP' # password: lofcrypto
  13. su postgres -c 'createdb lofcrypto -O lofcrypto -E utf8 -l en_US.UTF-8 -T template0'
  14. ./manage.py migrate
  15. ./manage.py createsuperuser # create user for admin panel
  16. ./manage.py collectstatic --noinput
  17. cp nginx.conf /etc/nginx/sites-enabled/lofcrypto.conf
  18. nano /etc/nginx/sites-enabled/lofcrypto.conf # change server_name to your domain
  19. cp supervisor.conf /etc/supervisor/conf.d/lofcrypto.conf
  20. systemctl enable nginx postgresql supervisor redis-server
  21. systemctl restart nginx postgresql supervisor redis-server

marketplaceinternal's People

Contributors

steedmicro avatar

Watchers

 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.