Comments (16)
From a quick look I would say to try 'pip install gunicorn' and make sure Postgres is installed and the pg_config tool is available on the path.
from mendel.
I did both those things and got the server running but now getting "TemplateDoesNotExist at /api/" when I go to http://0.0.0.0:5000/api/ in browser
from mendel.
For the issue with the setup script, it looks like the Postgres command line tools might not be available on your $PATH
If you're using Postgres.app, make sure the command line tools are set up. Check the directions in the link here: http://postgresapp.com/documentation/cli-tools.html
Sounds like you have the server running now, though - what happens when you go to http://localhost:5000/ ?
from mendel.
I get "TemplateDoesNotExist at /"
from mendel.
I can paste the console message too if that is helpful.
from mendel.
I'm suspecting that the collectstatic
command didn't run properly - try killing heroku local
and starting it again
from mendel.
ok. Getting same error.
from mendel.
I was using sudo. Tried without it and it seems to be working. Now I just need login credentials.
from mendel.
Ah, good to know 👍
Let us know if you encounter other issues. Happy to help.
from mendel.
A super user is automatically created in the setup script with the username admin and the password architizer
from mendel.
oh ok, thanks
from mendel.
Actually I still need more help. Login isn't working.
from mendel.
If the login isn't working, you can try re-running the createsuperuser command in another window:
heroku local:run python manage.py createsuperuser
and follow the prompts to make a super user to use to access the app
The Django admin panel runs at http://localhost:5000/admin
Also, front end development for the project happens with a slightly different build pipeline - to run the front end for development, you have to run gulp serve
from the /mendel/angular
directory - this starts up a Browsersync server on http://localhost:3000/ so when you make changes to the front end files, the browser will update automatically.
from mendel.
I got it to work by adding another user.
from mendel.
@expandrew It turns out that he needed to run Postgres.app -- the instructions say that you have to install it, but don't explicitly say that is has to be running when you run the installation script. But, you do.
from mendel.
@picturedots Good to know - I've added a line to the README to clarify
from mendel.
Related Issues (20)
- Update app.json for Heroku
- Going to http://mendel.arc.ht shows broken image? HOT 1
- Get the buttons to behave like checkboxes HOT 1
- Get the "Next" button to submit all the clicked category buttons in a batch to create each review object HOT 1
- User authentication (make sure same context doesn't go to same user twice) HOT 1
- Get "Next" button to load new context HOT 1
- Add ability to edit the keyword in the "Subject" box - keyword name should update in the keyword schema object; context should remain the same, as well as the original keyword within the context object.
- Command line to select - interactive features HOT 1
- "Delete" and "I don't know" buttons should behave like category buttons, but if you press either one, you can't press anything else
- Use dictionary API to get definition for the keyword in "Metadata" section HOT 1
- User profile drop-down (logout button, edit login email and password, tab to view stats on how many words have been tagged into which categories) HOT 1
- Help drop-down
- About drop-down
- Timestamp all the things
- Unable to run heroku local on Windows HOT 1
- Focus cursor on username when loading the login page HOT 1
- "Swipe " animation in the Keyword box and the Context box to show that they have changed
- When you edit the keyword, we need a way to "return to original"
- All keywords that appear should be case sensitive (to the user)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mendel.