question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to build a development environment of doccano

See original GitHub issue

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OSX
  • Python version: 3.6

Describe the problem

After completing all installation steps, When I go to “Projects” page, I am getting server log:

[11/Apr/2019 00:15:17] "GET /projects/ HTTP/1.1" 200 9983
Not Found: /api/projects/
[11/Apr/2019 00:15:18] "GET /api/projects/ HTTP/1.1" 404 5044

I try to create a project – dialog pops up, but “Create” button does not work (even after filling in all fields).

Source code / logs

[11/Apr/2019 00:15:17] "GET /projects/ HTTP/1.1" 200 9983
Not Found: /api/projects/
[11/Apr/2019 00:15:18] "GET /api/projects/ HTTP/1.1" 404 5044

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
lapoloniocommented, Nov 20, 2019

I think new commands are:

conda create -n doccano-fresh python=3.6
. activate doccano-fresh

pip install -r requirements.txt
cd app/server/static
npm install
npm run build
cd ../..
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
npm start  # for developers
1reaction
BrambleXucommented, Apr 11, 2019

As I mentioned, you miss npm start. Please read the README carefully.

# npm start  # for developers
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to build a development environment of doccano #149
System information. OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OSX; Python version: 3.6. Describe the problem.
Read more >
Install and upgrade doccano
Choose the installation method that works best for your environment: Install doccano ... Second, set up the database and run the development server....
Read more >
Doccano — A Tool To Annotate Text Data To Train Custom ...
and set DATABASE_URL as an environment variable. Once doccano is installed, run the following commands in order to: Initialize the database:
Read more >
general - Aug 28, 2020 - Doccano text annotation tool overview
Key moments. View all · Edit the Data · Edit the Data · Edit the Data · Develop Labels · Develop Labels ·...
Read more >
doccano - Heroku Elements
doccano is an open source text annotation tool for humans. ... and set DATABASE_URL environment variable according to your PostgreSQL credentials:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found