Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
06c75848
Commit
06c75848
authored
Apr 19, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN] cleaning files.
parent
355f8c3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
64 deletions
+0
-64
README.md
install/README.md
+0
-63
run_gargantext.sh
install/run_gargantext.sh
+0
-1
No files found.
install/README.md
deleted
100644 → 0
View file @
355f8c3a
# Installation
First, install Python 3.5 (see https://www.python.org/downloads/ for
download links).
```
bash
cd
/tmp
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz
tar
xvfJ Python-3.5.1.tar.xz
cd
Python-3.5.1
./configure
make
-j4
# option is for multithreading
sudo
make
install
```
Other components are required:
```
bash
sudo
pip3.5
install
virtualenv
sudo
apt-get
install
rabbitmq-server
```
Then build a virtual environment:
```
bash
virtualenv-3.5 VENV
source
VENV/bin/activate
pip3.5
install
git+https://github.com/zzzeek/sqlalchemy.git@rel_1_1
pip3.5
install
-U
-r
requirements.txt
```
# Migrate database
## Django models
```
bash
./manage.py makemigrations
./manage.py migrate
--fake-initial
```
...or if it fails, try the commandes below:
```
bash
./manage.py makemigrations
./manage.py migrate
--run-syncdb
```
(see
[
Django documentation
](
https://docs.djangoproject.com/en/1.9/topics/migrations/
)
)
## SQLAlchemy models
```
bash
./dbmigrate.py
```
# Start the Django server
```
bash
./manage.py celeryd
--loglevel
=
INFO
# to ensure Celery is properly started
./manage.py runserver
```
install/run_gargantext.sh
View file @
06c75848
#!/bin/bash
echo
"Need to finish the dependencies. So soon... :)"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment