Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
communEvent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Pixel Humain
communEvent
Commits
55d63d67
Commit
55d63d67
authored
8 years ago
by
alexis
Browse files
Options
Downloads
Patches
Plain Diff
add info to install and run + useful dev info in readme
parent
049accaf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+45
-5
45 additions, 5 deletions
README.md
with
45 additions
and
5 deletions
README.md
+
45
−
5
View file @
55d63d67
# communEvent
# communEvent
meteor mobile event application
meteor mobile event application
directly pluggued into The ODB and also visible on Communecter
directly pluggued into The ODB and also visible on Communecter
-
create new Event
-
create new Event
-
create new User Account
-
create new User Account
-
add a Post on an Event (distributed Event journalisme) : Text, Photo
-
add a Post on an Event (distributed Event journalisme) : Text, Photo
-
Like a Post
-
Like a Post
-
got to event on map
-
got to event on map
-
find Events near you (based on on geolocation change viewing distance)
-
find Events near you (based on on geolocation change viewing distance)
-
map view of all events
-
map view of all events
-
invite from your phone contact list
-
invite from your phone contact list
...
@@ -14,4 +14,44 @@ directly pluggued into The ODB and also visible on Communecter
...
@@ -14,4 +14,44 @@ directly pluggued into The ODB and also visible on Communecter
-
events can have a QR code scan
-
events can have a QR code scan
-
geo localisation
-
geo localisation
-
notifications of new pushes on an event
-
notifications of new pushes on an event
-
change location being watched
-
change location being watched
# Install
*
install meteor
*
clone the project
*
cd communEvent
*
meteor npm install
*
get certificates, settings files and credentials by asking the devs
*
unzip private in projet root (file with certificates)
*
put
`setting-prod.json`
or
`settings.json`
at the projet root (files with settings and credentials)
*
launch app with (ask devs for real cmd)
`$ MONGO_URL='mongodb://USER:PWD@HOST1:PORT,HOST2:PORT/qa-communecter?replicaSet=set-xxxxxxxxxxxxxxxxxxxxxxxxxxx' MONGO_OPLOG_URL='mongodb://USER:PWD@HOST1:PORT,HOST2:PORT/local?authSource=qa-communecter&replicaSet=set-xxxxxxxxxxxxxxxx' meteor run --settings settings.json`
# infos pour les devs
*
utiliser les options chrome ou firefox pour du dev mobile (vue adaptive)
*
penser c'est que sous meteor les
`_id`
sont des String et que sous YII mongo c'est un objet
donc quand on tape dans des collections existantes sur YII il faut utilisé new Mongo.ObjectID()
avec le string id de meteor dedans
`_id._str`
*
utilisation du publish de meteor pour l'affichage (pour garder la réactivité de meteor) et pour
les méthodes des appels REST
*
pour le logue aussi c'est particulier car communecter utilise la collection citoyen et que
sous meteor on est obligé d'utiliser users donc j'ai fait un truc pour pouvoir l'utiliser qui sert au loggue
tu la dans
`import/startup/client/config.js`
pour la partie cliente
et sur le serveur dans
`imports/api/server/config.js`
qui s'appelle
`Accounts.registerLoginHandler`
qui fait un appelle REST
puis qui insert dans Meteor.users l'id de la collection citoyen correspondante
puis qui genere le token
pour l'envoyer en retour avec le userId
et ce token nous sert pour faire les appelle REST sur communecter vu qu'on partage la même base pour identifier l'user
car pour le moment il y a de systeme type oauth sur communecter
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment