Skip to content

Commit

Permalink
Readme Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantkhandelwal committed Apr 9, 2019
1 parent 86b504e commit 7f949f0
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
# SMS19

## ToDo

- Templates Integration
- Buy/Sell Testing
- Markets
- Leaderboard
- User Portfolio Page
- Stock History Page
- News Section
- Algorithm for Price Fluctuation
# SMS

## Setting Up Backend

Expand Down Expand Up @@ -57,26 +46,6 @@ python manage.py runserver 0.0.0.0:8000
>>> connection.vendor
```

### Setting Up Social media login

- first create a django superuser using following command

```bash
python manage.py createsuperuser
```

- Go to <http://localhost:8000/admin/socialaccount/socialapp/> and add a new social application
- Provider : Google
- Name : google
- Client id : 637432237961-3r7lhv7o0e11n3mv3atekpk46t8ahib4.apps.googleusercontent.com
- secret key : xb8yqnj_c8sAjFsITSEt6FR4
- sites : choose both 127.0.0.1 and example.com

- If you don't get an option for '127.0.0.1' in the sites field
- Go to <http://localhost:8000/admin/sites/site/add/> and fill following fields and save . Then again proceed to add a social application .
- Domain name : 127.0.0.1
- Display name : 127.0.0.1

### Note

- Migrate after every pull from the repository
Expand All @@ -86,9 +55,3 @@ python manage.py createsuperuser
- Please raise issues if the above procedure does not work for your system.
- Feel free to make necessary changes.
- Please migrate before running the server.

## References for allauth

- Settings : <https://django-allauth.readthedocs.io/en/latest/configuration.html>
- adapters.py <https://stackoverflow.com/questions/27759407/django-allauth-redirect-after-social-signup>
- migration changes <https://stackoverflow.com/questions/29902366/django-migration-is-not-applying-the-migration-changes>

0 comments on commit 7f949f0

Please sign in to comment.