This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
482bdea
commit f3faa95
Showing
1 changed file
with
26 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,49 @@ | ||
# The Anti-Social Network | ||
## the anti-social network | ||
|
||
Join at [https://anti-social.herokuapp.com](https://anti-social.herokuapp.com) !!! | ||
<br> | ||
|
||
### Are you tired of not having enough online followers in your social networks? | ||
<p align="center"> | ||
<img height="200" src="http://i.imgur.com/aWITmEH.png"> | ||
<img height="200" src="http://i.imgur.com/fRnw4Ok.png"> | ||
<img height="200" src="http://i.imgur.com/N9e8kTB.png"> | ||
<img height="200" src="http://i.imgur.com/M9WeNOs.png"> | ||
<img height="200" src="http://i.imgur.com/GM6WNIK.png"> | ||
<img height="200" src="http://i.imgur.com/8ugLkBq.png"> | ||
</p> | ||
|
||
Can't you stand the fact that only the cool kids are popular and have all the "likes"? Nobody "stars" or "retweets" your stories? Do you wish you had more friends to love all your pointless posts? | ||
<br> | ||
|
||
### Your problems are over! | ||
--- | ||
|
||
Get as many friends as you need to feel good about yourself again! Register Today! | ||
### running | ||
|
||
<br> | ||
|
||
### Posts are not limited to 140 characters and you can write in rich text! | ||
|
||
|
||
### Screenshots: | ||
|
||
![](http://i.imgur.com/aWITmEH.png) | ||
|
||
![](http://i.imgur.com/fRnw4Ok.png) | ||
|
||
![](http://i.imgur.com/N9e8kTB.png) | ||
|
||
![](http://i.imgur.com/M9WeNOs.png) | ||
|
||
![](http://i.imgur.com/GM6WNIK.png) | ||
|
||
![](http://i.imgur.com/8ugLkBq.png) | ||
|
||
|
||
|
||
|
||
|
||
## Instructions - Development | ||
|
||
The Anti-Social Network was built on Flask&Python. The License is MIT, feel free to play: | ||
|
||
|
||
#### Start your virtual environment. | ||
|
||
#### Import the dependences: | ||
|
||
``` | ||
(anti) $ pip install -r requirements/* | ||
``` | ||
|
||
####Import environment variables for user authentications (this can also be added to your .bash): | ||
* install the dependencies in a venv: | ||
|
||
``` | ||
(anti) $ export MAIL_USERNAME=<Gmail username> | ||
(anti) $ export MAIL_PASSWORD=<Gmail password> | ||
(anti) $ export ANTISOCIAL_ADMIN=<your-email-address> | ||
(anti) $ export SECRET_KEY=<choose-a-secrecy> | ||
pip install -r requirements/* | ||
``` | ||
|
||
|
||
#### Upgrade your DB: | ||
* import environment variables for user authentications (this can also be added to your `.bash`): | ||
|
||
``` | ||
$ python manage.py db migrate | ||
$ python manage.py db upgrade | ||
export MAIL_USERNAME=<Gmail username> | ||
export MAIL_PASSWORD=<Gmail password> | ||
export ANTISOCIAL_ADMIN=<your-email-address> | ||
export SECRET_KEY=<choose-a-secrecy> | ||
``` | ||
|
||
#### Run! | ||
* upgrade your DB: | ||
|
||
``` | ||
$ python manage.py runserver | ||
python manage.py db migrate | ||
python manage.py db upgrade | ||
``` | ||
|
||
#### You can also do: | ||
* run: | ||
|
||
``` | ||
$ python manage.py shell | ||
$ python manage.py test | ||
python manage.py runserver | ||
``` | ||
|
||
|
||
|
||
|
||
## Instructions - Production | ||
|
||
If you want to use the machinery to deploy the app somewhere (MIT License). | ||
[Instructions here](https://coderwall.com/p/pstm1w?i=2&p=1&q=author%3Abt3gl&t%5B%5D=bt3gl). | ||
|
||
|
||
|
||
---- | ||
|
||
|
||
## License | ||
|
||
When making a reference to my work, please use my [website](http://bt3gl.github.io/index.html). | ||
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). |