Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended Start instructions are out of sequence and missing a step #1

Open
DovRine opened this issue Jul 28, 2018 · 0 comments
Open

Comments

@DovRine
Copy link

DovRine commented Jul 28, 2018

Issues
  • Cannot create superuser until database tables are created
    • resolution: Run migrations before creating users
  • Path to requirements.txt is incorrect in "pip install" step
    • resolution 1: Run pip install before changing to the src folder
    • resolution 2: Change the pip install command to: pip install -r ../requirements.txt
Suggested Version (changes are in lines 9 - 11)
$ cd path/to/your/dev/folder
$ mkdir channels-rapid
$ cd channels-rapid
$ git clone https://github.com/codingforentrepreneurs/Rapid-ChatXChannels .
$ git reset a9a2c42052c87fd2eb5acdc417729f9359a1e087 --hard
$ git remote remove origin
$ virtualenv -p python3 .
$ source bin/activate
(channels-rapid) $ pip install -r requirements.txt
(channels-rapid) $ cd src
(channels-rapid) $ python manage.py migrate
(channels-rapid) $ python manage.py createsuperuser
... do the creation
(channels-rapid) $ python manage.py createsuperuser
... create second super user 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant