Stop stalking and Start StopStalking 😎
Note: Apply sudo if required for your system.
Install the required packages by running:
pip install -r requirements.txt
Install web2py in a directory
- From source
$ git clone --recursive https://github.com/web2py/web2py.gitFrom zip
Directly download appropriate zip and unzip it to get the
web2pydirectory set up on your local machine.Note: In this method you will have a fixed version of web2py, whereas in the former you might as well keep on pulling the latest changes made in web2py source.
If you have it already jump to step 2.
Navigate into the applications directory in web2py directory.
$ cd web2py/applications/Install StopStalk by cloning this repository
git clone https://github.com/stopstalk/stopstalk-deployment.git mv stopstalk-deployment stopstalkNote: Web2Py does not allow appname to contain hyphens.
Install MySQL - here Make sure you remember the root password for mysql server.
Create a database in MySQL
$ mysql -u root -p # Enter your mysql root password after this. mysql> CREATE DATABASE migration; mysql> CREATE DATABASE uvajudge;Copy
0firstrun.pytomodels/$ cd stopstalk/ $ cp models/0firstrun.py.sample models/0firstrun.pyOpen
0firstrun.pyand change the settings.current.mysql_user="root"# Change if you have given access to any other user in mysqlcurrent.mysql_password=""# As per your mysql passwordcurrent.mysql_server="localhost"current.mysql_dbname="migration"# Will remain same as long as you followed 5.current.mysql_uvadbname="uvajudge"# Will remain same as long as you followed 5.# Configure mail optionscurrent.smtp_server="logging"# Mails will not be sent. Will be logged where the web2py server is running# Else you can set it to your smtp server.current.sender_mail=""# Not required if loggingcurrent.sender_password=""# Not required if loggingcurrent.bulk_smtp_server="logging"current.bulk_sender_mail=""# Not required if loggingcurrent.bulk_sender_password=""# Not required if loggingcurrent.analytics_id=""# Leave it empty if you don't want Google Analytics on Localhostcurrent.calendar_token=""# Leave it empty if you don't have an access token ID for Google Calendar API# Leave the following empty for very basic email validation# https://app.neverbounce.com/settings/apicurrent.neverbounce_user=""current.neverbounce_password=""
In case if you want to send emails - Install
postfixfor your respective OS and configure the above smtp server accordingly.Navigate back to the web2py folder and start the web2py server.
$ cd web2py $ python web2py.py -a yourPassword // Choose any passwordOpen the browser and go to the URL -
http://localhost:8000/stopstalk/
Note:
- The database will be completely empty after installation
- Done. 😄
StopStalk is built on the Web2Py Framework, which is a Python based MVC framework. The project also depends on a number of other open source packages, some of which are
Fork the repository
Clone your forked repository
Find any of the issues from here - [Issues] (https://github.com/stopstalk/stopstalk-deployment/issues) and try solving it or any other enhancements
Solve the bug or enhance the code and send a Pull Request!
Note: Make sure to add the issue number in the commit message.
Example Commit message:
Solved Issue #5We will review it as soon as possible.
Configure the models/000_config.py file as per your requirement.
- Goto [Google developers console] (https://console.developers.google.com/) and click on New Project.
- Give the project a name like stopstalk-test and create the project.
- Goto API Manager.
- Search and select Google Calendar API and enable it.
- Click on Go To Credentials and fill out the form
- Copy client ID and paste it in models/0firstrun.py
- Done. 😄
Email: admin@stopstalk.com, contactstopstalk@gmail.com, raj454raj@gmail.com
Contact Us Page: https://www.stopstalk.com/contact_us
Creator Website: http://raj454raj.xyz