Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

😍 😮 💚 A social network where expressions speak and things talk

License

NotificationsYou must be signed in to change notification settings

hohosInc/hohos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hohos

PRs WelcomeMIT LicenseJoin the chat at https://gitter.im/dbads/hohos

Buy Me A Coffee


How to run hohos locally ?


Clone the repo and follow these steps

   git clone https://github.com/dbads/hohos.git
  1. Install Requirements

    sudo apt-get install python3sudo apt-get install python3-pip python3-dev libpq-dev postgresqlsudo apt-get install python3-setuptoolspip3 install -r requrements.txtif pip doesn't work, easy_install is there for you e.g.$ easy_install package_name
  2. Database configuration

    If you use postgresql thenChange name of databse, db user, db password, localhost, and you can leave port blankIf you want to use sqlite3 then just uncomment the sqlite configuration.
  3. Configuring Settings.py file

    you can make DEBUG=True while you are working locallyALLOWED_HOSTS=['*'] in local
  4. Sensitive Information

    There are some variables which are coming from either environment variables or from a file sensitive.py so you just create this file and pust those variables in that file or you can use environment variables too. #SENSITIVE DATABASE INFORMATIONDB_NAME='xyz'DB_PASS='your_DB_PASS'DB_PORT=5432DB_USER='abc'#SENSITIVE EMAIL DATASECRET_KEY='7yl&y17r&7h*#fk&whgdhgyys#^m$0+k$)l!-idm*md%w_ldcj'EMAIL_HOST='smtp.gmail.com' EMAIL_HOST_USER='your Email'EMAIL_HOST_PASSWORD='your email password'EMAIL_PORT='587'
  5. Now Use the following commands to build the required tables

    python3 manage.py migratepython3 manage.py makemigrationspython3 manage.py collectstaticpython3 manage.py createsuperuser to make a super uservisit ip:domain/admin  to see admin panel
  6. Commands to run server

    python3 manage.py runserver <ip>:<port>default port is 8000 and default address is 127.0.0.1ctrl+c to stop the server
  7. I will soon update readme telling how to deploy hohos on Heroku and Digital Ocean.

Want to add some feature in hohos, fork the hohos, make changes and create a Pull Requestyou can always email me or come on gitter in case of any query
Join the chat at https://gitter.im/dbads/hohos

About

😍 😮 💚 A social network where expressions speak and things talk

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp